wp_dbcomw_rules

Static

Stores dbcomw rules data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idbigint(20) unsignedNO
namevarchar(255)NO
rule_groupvarchar(50)NO
statustinyint(1)YES
priorityint(11)YES
stop_further_rulestinyint(1)YES
discount_typevarchar(80)NO
discount_datalongtextNO
filter_datalongtextYES
condition_datalongtextYES
bxgy_datalongtextYES
usage_limit_per_ruleint(11)YES
usage_limit_per_userint(11)YES
usage_countbigint(20) unsignedYES
start_datedatetimeYES
end_datedatetimeYES
created_bybigint(20) unsignedYES
created_atdatetimeYES
updated_atdatetimeYES

CREATE TABLE Statement

CREATE TABLE IF NOT EXISTS wp_dbcomw_rules ( id bigint(20) unsigned NOT NULL AUTO_INCREMENT, name varchar(255) NOT NULL, rule_group varchar(50) NOT NULL DEFAULT 'cart', status tinyint(1) DEFAULT 1, priority int(11) DEFAULT 10, stop_further_rules tinyint(1) DEFAULT 0, discount_type varchar(80) NOT NULL, discount_data longtext NOT NULL, filter_data longtext, condition_data longtext, bxgy_data longtext, usage_limit_per_rule int(11) DEFAULT NULL, usage_limit_per_user int(11) DEFAULT NULL, usage_count bigint(20) unsigned DEFAULT 0, start_date datetime DEFAULT NULL, end_date datetime DEFAULT NULL, created_by bigint(20) unsigned DEFAULT 0, created_at datetime DEFAULT CURRENT_TIMESTAMP, updated_at datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (id), KEY idx_status_priority (status, priority), KEY idx_group_status (rule_group, status), KEY idx_active_dates (status, start_date, end_date) ) $charset;" );

Safe to delete?

If you have uninstalled Cart Offer Manager 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_dbcomw_rules`;

Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.

Other tables from Cart Offer Manager for WooCommerce