wp_bcog_gift_selections
StaticStores bcog gift selections data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑id | BIGINT UNSIGNED | NO |
| session_key | VARCHAR(64) | NO |
| promotion_id | BIGINT UNSIGNED | NO |
| reward_id | VARCHAR(64) | NO |
| product_id | BIGINT UNSIGNED | YES |
| variation_id | BIGINT UNSIGNED | YES |
| quantity | INT | NO |
| status | VARCHAR(20) | NO |
| updated_at | DATETIME | NO |
CREATE TABLE Statement
CREATE TABLE wp_bcog_gift_selections ( id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, session_key VARCHAR(64) NOT NULL, promotion_id BIGINT UNSIGNED NOT NULL, reward_id VARCHAR(64) NOT NULL, product_id BIGINT UNSIGNED NULL DEFAULT NULL, variation_id BIGINT UNSIGNED NULL DEFAULT NULL, quantity INT NOT NULL DEFAULT 1, status VARCHAR(20) NOT NULL DEFAULT 'selected', updated_at DATETIME NOT NULL, PRIMARY KEY (id), UNIQUE KEY bcog_selection_unique (session_key, promotion_id, reward_id), KEY session_promotion (session_key, promotion_id), KEY updated_at (updated_at) ) ENGINE
Safe to delete?
If you have uninstalled ByticsLab Conditional Offers for WooCommerce, 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_bcog_gift_selections`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.
Other tables from ByticsLab Conditional Offers for WooCommerce