wp_bcog_gift_selections

Static

Stores bcog gift selections data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idBIGINT UNSIGNEDNO
session_keyVARCHAR(64)NO
promotion_idBIGINT UNSIGNEDNO
reward_idVARCHAR(64)NO
product_idBIGINT UNSIGNEDYES
variation_idBIGINT UNSIGNEDYES
quantityINTNO
statusVARCHAR(20)NO
updated_atDATETIMENO

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