Just to summarise what I have found so far… there are four main areas of change to the database in WooCommerce 4.x
-
New tables created for the action scheduler.
actionscheduler_actions
actionscheduler_claims
actionscheduler_groups
actionscheduler_logs
Note that plugins (eg WooCommerce Subscriptions) may start to make use of these tables for their procedures. -
New tables created for the WooCommerce Admin reporting features
wc_admin_note_actions
wc_admin_notes
wc_category_lookup
wc_customer_lookup
wc_order_coupon_lookup
wc_order_product_lookup
wp_wc_order_stats
wc_order_tax_lookup
-
A new table created for handling reserved stock (managing stock levels for items that may be currently in the checkout process) -
wc_reserved_stock
More details here: Reserved Stock in WooCommerce 4.3 Explained | Puri.io -
A change to an existing table -
wc_product_meta_lookup
This has 2 new columns added -tax_status
andtax_class
See: Add product lookup table tax columns by mikejolley · Pull Request #25428 · woocommerce/woocommerce · GitHub
It also has a change to two existing column definitions
min_price decimal(10,2) DEFAULT NULL
andmax_price decimal(10,2) DEFAULT NULL
becomes
min_price decimal(19,4) DEFAULT NULL
andmax_price decimal(19,4) DEFAULT NULL
See: Need to change `wc_product_meta_lookup` table structure datatype size for min_price and max_price · Issue #24428 · woocommerce/woocommerce · GitHub