wp_ec_order_withdrawal
StaticStores order records and related transaction data.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑withdrawal_id | int(11) | NO |
| order_id | int(11) | NO |
| user_id | int(11) | NO |
| order_ref | varchar(64) | NO |
| customer_name | varchar(255) | NO |
| customer_email | varchar(255) | NO |
| reason | text | YES |
| note | text | YES |
| withdrawn_lines | longtext | YES |
| withdrawal_source | varchar(20) | NO |
| submitted_at | datetime | YES |
| deadline_at | datetime | YES |
| in_time | tinyint(1) | YES |
| withdrawal_status | varchar(20) | NO |
| handled_at | datetime | YES |
| handled_by | int(11) | NO |
| ack_sent_at | datetime | YES |
| store_sent_at | datetime | YES |
CREATE TABLE Statement
CREATE TABLE IF NOT EXISTS ec_order_withdrawal ( withdrawal_id int(11) NOT NULL AUTO_INCREMENT, order_id int(11) NOT NULL DEFAULT '0', user_id int(11) NOT NULL DEFAULT '0', order_ref varchar(64) NOT NULL DEFAULT '', customer_name varchar(255) NOT NULL DEFAULT '', customer_email varchar(255) NOT NULL DEFAULT '', reason text NULL, note text NULL, withdrawn_lines longtext NULL, withdrawal_source varchar(20) NOT NULL DEFAULT 'page', submitted_at datetime DEFAULT NULL, deadline_at datetime DEFAULT NULL, in_time tinyint(1) DEFAULT NULL, withdrawal_status varchar(20) NOT NULL DEFAULT 'received', handled_at datetime DEFAULT NULL, handled_by int(11) NOT NULL DEFAULT '0', ack_sent_at datetime DEFAULT NULL, store_sent_at datetime DEFAULT NULL, PRIMARY KEY (withdrawal_id), KEY order_id (order_id), KEY withdrawal_status (withdrawal_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_order_withdrawal`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.
Other tables from WP EasyCart: Shopping Cart and eCommerce Store