wp_ec_price_history
StaticStores ec price history data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑price_history_id | int(11) | NO |
| product_id | int(11) | NO |
| optionitemquantity_id | int(11) | NO |
| price | decimal(15,3) | NO |
| recorded_at | datetime | YES |
CREATE TABLE Statement
CREATE TABLE IF NOT EXISTS ec_price_history ( price_history_id int(11) NOT NULL AUTO_INCREMENT, product_id int(11) NOT NULL DEFAULT '0', optionitemquantity_id int(11) NOT NULL DEFAULT '0', price decimal(15,3) NOT NULL DEFAULT '0.000', recorded_at datetime DEFAULT NULL, PRIMARY KEY (price_history_id), KEY product_recorded (product_id,optionitemquantity_id,recorded_at) ) $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_price_history`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.
Other tables from WP EasyCart: Shopping Cart and eCommerce Store