wp_ec_inventory_log
StaticA logging table that records activity, events, or audit history.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑log_id | bigint(20) | NO |
| product_id | int(11) | NO |
| optionitemquantity_id | int(11) | NO |
| location_id | int(11) | NO |
| delta | int(11) | NO |
| new_quantity | int(11) | NO |
| reason | varchar(40) | NO |
| source | varchar(40) | NO |
| note | text | YES |
| user_id | bigint(20) | NO |
| created | timestamp | YES |
CREATE TABLE Statement
CREATE TABLE IF NOT EXISTS ec_inventory_log ( log_id bigint(20) NOT NULL AUTO_INCREMENT, product_id int(11) NOT NULL DEFAULT '0', optionitemquantity_id int(11) NOT NULL DEFAULT '0', location_id int(11) NOT NULL DEFAULT '0', delta int(11) NOT NULL DEFAULT '0', new_quantity int(11) NOT NULL DEFAULT '0', reason varchar(40) NOT NULL DEFAULT '', source varchar(40) NOT NULL DEFAULT '', note text NULL, user_id bigint(20) NOT NULL DEFAULT '0', created timestamp NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (log_id), KEY product_id (product_id), KEY optionitemquantity_id (optionitemquantity_id), KEY created (created) ) $collate;" );
Safe to delete?
If you have uninstalled WP EasyCart: Shopping Cart and eCommerce Store, 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_ec_inventory_log`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.
Other tables from WP EasyCart: Shopping Cart and eCommerce Store