wp_ec_inventory_log

Static

A logging table that records activity, events, or audit history.

Column Definitions

ColumnTypeNullable
🔑log_idbigint(20)NO
product_idint(11)NO
optionitemquantity_idint(11)NO
location_idint(11)NO
deltaint(11)NO
new_quantityint(11)NO
reasonvarchar(40)NO
sourcevarchar(40)NO
notetextYES
user_idbigint(20)NO
createdtimestampYES

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