wp_wc_reserved_stock

Static

Stores wc reserved stock data created by this plugin.

Column Definitions

ColumnTypeNullable
order_idbigint(20)NO
product_idbigint(20)NO
stock_quantitydoubleNO
timestampdatetimeNO
expiresdatetimeNO

CREATE TABLE Statement

CREATE TABLE wp_wc_reserved_stock ( `order_id` bigint(20) NOT NULL, `product_id` bigint(20) NOT NULL, `stock_quantity` double NOT NULL DEFAULT 0, `timestamp` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `expires` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`order_id`, `product_id`) ) $collate; " );

Safe to delete?

If you have uninstalled WooCommerce, this table is generally safe to remove. However, always back up your database first.

Note: Some plugins share tables or are dependencies of other plugins. Verify nothing else depends on this table before dropping it.

How to remove this table

DROP TABLE IF EXISTS `wp_wc_reserved_stock`;

Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.

Other tables from WooCommerce