wp_ec_subscription_change
StaticStores ec subscription change data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑change_id | int(11) | NO |
| subscription_id | int(11) | NO |
| from_product_id | int(11) | NO |
| to_product_id | int(11) | NO |
| from_quantity | int(11) | NO |
| to_quantity | int(11) | NO |
| change_when | varchar(20) | NO |
| change_status | varchar(20) | NO |
| effective_at | int(11) | NO |
| amount | double(21,3) | NO |
| stripe_schedule_id | varchar(255) | NO |
| stripe_price_id | varchar(255) | NO |
| stripe_invoice_id | varchar(255) | NO |
| change_source | varchar(20) | NO |
| created_at | datetime | YES |
| updated_at | datetime | YES |
CREATE TABLE Statement
CREATE TABLE IF NOT EXISTS ec_subscription_change ( change_id int(11) NOT NULL AUTO_INCREMENT, subscription_id int(11) NOT NULL DEFAULT '0', from_product_id int(11) NOT NULL DEFAULT '0', to_product_id int(11) NOT NULL DEFAULT '0', from_quantity int(11) NOT NULL DEFAULT '1', to_quantity int(11) NOT NULL DEFAULT '1', change_when varchar(20) NOT NULL DEFAULT 'now', change_status varchar(20) NOT NULL DEFAULT 'scheduled', effective_at int(11) NOT NULL DEFAULT '0', amount double(21,3) NOT NULL DEFAULT '0.000', stripe_schedule_id varchar(255) NOT NULL DEFAULT '', stripe_price_id varchar(255) NOT NULL DEFAULT '', stripe_invoice_id varchar(255) NOT NULL DEFAULT '', change_source varchar(20) NOT NULL DEFAULT 'customer', created_at datetime DEFAULT NULL, updated_at datetime DEFAULT NULL, PRIMARY KEY (change_id), KEY subscription_id (subscription_id), KEY change_status (change_status) ) $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_subscription_change`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.
Other tables from WP EasyCart: Shopping Cart and eCommerce Store