wp_ec_subscription_change

Static

Stores ec subscription change data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑change_idint(11)NO
subscription_idint(11)NO
from_product_idint(11)NO
to_product_idint(11)NO
from_quantityint(11)NO
to_quantityint(11)NO
change_whenvarchar(20)NO
change_statusvarchar(20)NO
effective_atint(11)NO
amountdouble(21,3)NO
stripe_schedule_idvarchar(255)NO
stripe_price_idvarchar(255)NO
stripe_invoice_idvarchar(255)NO
change_sourcevarchar(20)NO
created_atdatetimeYES
updated_atdatetimeYES

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