wp_ec_order_withdrawal

Static

Stores order records and related transaction data.

Column Definitions

ColumnTypeNullable
🔑withdrawal_idint(11)NO
order_idint(11)NO
user_idint(11)NO
order_refvarchar(64)NO
customer_namevarchar(255)NO
customer_emailvarchar(255)NO
reasontextYES
notetextYES
withdrawn_lineslongtextYES
withdrawal_sourcevarchar(20)NO
submitted_atdatetimeYES
deadline_atdatetimeYES
in_timetinyint(1)YES
withdrawal_statusvarchar(20)NO
handled_atdatetimeYES
handled_byint(11)NO
ack_sent_atdatetimeYES
store_sent_atdatetimeYES

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