a8cteam51 / safety-net

Scrub options, deactivate denylisted plugins, and delete user data on development sites.
20 stars 1 forks source link

Research new Woo custom tables #64

Closed nate-allen closed 1 year ago

nate-allen commented 2 years ago

WooCommerce will soon have new custom tables. We need to do research on how Safety Net will work with it.

NickGreen commented 2 years ago

Database schema post here: https://developer.woocommerce.com/2022/09/15/high-performance-order-storage-database-schema/

Here are the 4 tables new tables we should purge:

$wpdb->prefix.'wc_orders' $wpdb->prefix.'wc_order_addresses' $wpdb->prefix.'wc_order_operational_data' $wpdb->prefix.'wc_orders_meta'

So, we'll probably need to check if they exist, and just empty them if so.

NickGreen commented 1 year ago

Fixed with https://github.com/a8cteam51/safety-net/pull/72