wp_ec_offer_redemption
StaticStores ec offer redemption data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑offer_redemption_id | int(11) | NO |
| offer_id | int(11) | NO |
| offer_code_id | int(11) | NO |
| code | varchar($max_index_length) | NO |
| order_id | int(11) | NO |
| user_id | int(11) | NO |
| varchar(255) | NO | |
| discount_amount | float(15,3) | NO |
| redemption_status | varchar(20) | NO |
| redemption_date | timestamp | YES |
CREATE TABLE Statement
CREATE TABLE IF NOT EXISTS ec_offer_redemption ( offer_redemption_id int(11) NOT NULL AUTO_INCREMENT, offer_id int(11) NOT NULL DEFAULT '0', offer_code_id int(11) NOT NULL DEFAULT '0', code varchar($max_index_length) NOT NULL DEFAULT '', order_id int(11) NOT NULL DEFAULT '0', user_id int(11) NOT NULL DEFAULT '0', email varchar(255) NOT NULL DEFAULT '', discount_amount float(15,3) NOT NULL DEFAULT '0.000', redemption_status varchar(20) NOT NULL DEFAULT 'completed', redemption_date timestamp NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (offer_redemption_id), KEY offer_redemption_offer_id (offer_id), KEY offer_redemption_order_id (order_id), KEY offer_redemption_user_id (user_id), KEY offer_redemption_offer_email (offer_id,email(100)) ) $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_offer_redemption`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.
Other tables from WP EasyCart: Shopping Cart and eCommerce Store