wp_cu_rules

Static

Stores cu rules data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idINT UNSIGNEDNO
url_patternVARCHAR(2048)NO
match_typeENUM('exact','wildcard','regex')NO
asset_handleVARCHAR(255)NO
asset_typeENUM('js','css','inline_js','inline_css')NO
source_labelVARCHAR(255)NO
device_typeENUM('all','desktop','mobile')NO
condition_typeVARCHAR(64)YES
condition_valueVARCHAR(255)YES
condition_invertTINYINT(1)NO
group_idINT UNSIGNEDYES
group_item_idINT UNSIGNEDYES
labelVARCHAR(255)YES
created_byBIGINT UNSIGNEDYES
created_atDATETIMENO

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) ) ENGINE

Safe 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