wp_cu_rules
StaticStores cu rules data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑id | INT UNSIGNED | NO |
| url_pattern | VARCHAR(2048) | NO |
| match_type | ENUM('exact','wildcard','regex') | NO |
| asset_handle | VARCHAR(255) | NO |
| asset_type | ENUM('js','css','inline_js','inline_css') | NO |
| source_label | VARCHAR(255) | NO |
| device_type | ENUM('all','desktop','mobile') | NO |
| condition_type | VARCHAR(64) | YES |
| condition_value | VARCHAR(255) | YES |
| condition_invert | TINYINT(1) | NO |
| group_id | INT UNSIGNED | YES |
| group_item_id | INT UNSIGNED | YES |
| label | VARCHAR(255) | YES |
| created_by | BIGINT UNSIGNED | YES |
| created_at | DATETIME | NO |
CREATE TABLE Statement
CREATE TABLE wp_cu_rules ( id INT UNSIGNED NOT NULL AUTO_INCREMENT, url_pattern VARCHAR(2048) NOT NULL, match_type ENUM('exact','wildcard','regex') NOT NULL DEFAULT 'exact', asset_handle VARCHAR(255) NOT NULL, asset_type ENUM('js','css','inline_js','inline_css') NOT NULL, source_label VARCHAR(255) NOT NULL DEFAULT '', device_type ENUM('all','desktop','mobile') NOT NULL DEFAULT 'all', condition_type VARCHAR(64) DEFAULT NULL, condition_value VARCHAR(255) DEFAULT NULL, condition_invert TINYINT(1) NOT NULL DEFAULT 0, group_id INT UNSIGNED DEFAULT NULL, group_item_id INT UNSIGNED DEFAULT NULL, label VARCHAR(255) DEFAULT NULL, created_by BIGINT UNSIGNED DEFAULT NULL, created_at DATETIME NOT NULL, PRIMARY KEY (id), KEY idx_url_pattern (url_pattern(191)), UNIQUE KEY uniq_rule (url_pattern(191), match_type, asset_handle(191), asset_type, device_type, group_id) ) ENGINESafe to delete?
If you have uninstalled Code Unloader, 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_cu_rules`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.
Other tables from Code Unloader