wp_cppu_unlocks
StaticStores cppu unlocks data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑id | BIGINT(20) UNSIGNED | NO |
| post_id | BIGINT(20) UNSIGNED | NO |
| section_key | VARCHAR(64) | NO |
| user_id | BIGINT(20) UNSIGNED | NO |
| order_id | BIGINT(20) UNSIGNED | NO |
| VARCHAR(200) | NO | |
| token | VARCHAR(64) | NO |
| expires_at | DATETIME | YES |
| created_at | DATETIME | NO |
| section_key | VARCHAR(64) | NO |
| event | ENUM('view','unlock') | NO |
| created_at | DATETIME | NO |
CREATE TABLE Statement
CREATE TABLE wp_cppu_unlocks ( id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, post_id BIGINT(20) UNSIGNED NOT NULL DEFAULT 0, section_key VARCHAR(64) NOT NULL DEFAULT '', user_id BIGINT(20) UNSIGNED NOT NULL DEFAULT 0, order_id BIGINT(20) UNSIGNED NOT NULL DEFAULT 0, email VARCHAR(200) NOT NULL DEFAULT '', token VARCHAR(64) NOT NULL DEFAULT '', expires_at DATETIME NULL DEFAULT NULL, created_at DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (id), KEY section_key (section_key), KEY user_id (user_id), KEY token (token), KEY order_id (order_id) ) $charset_collate;"; // Analytics table. $sql_analytics = "CREATE TABLE wp_cppu_analytics ( id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, section_key VARCHAR(64) NOT NULL DEFAULT '', event ENUM('view','unlock') NOT NULL DEFAULT 'view', created_at DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (id), KEY section_key (section_key), KEY event (event) ) $charset_collate;"; dbDelta( $sql_unlocks );Safe to delete?
If you have uninstalled Pay to Unlock WooCommerce Paywall – Capripio, 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_cppu_unlocks`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.
Other tables from Pay to Unlock WooCommerce Paywall – Capripio