wp_cppu_unlocks

Static

Stores cppu unlocks data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idBIGINT(20) UNSIGNEDNO
post_idBIGINT(20) UNSIGNEDNO
section_keyVARCHAR(64)NO
user_idBIGINT(20) UNSIGNEDNO
order_idBIGINT(20) UNSIGNEDNO
emailVARCHAR(200)NO
tokenVARCHAR(64)NO
expires_atDATETIMEYES
created_atDATETIMENO
section_keyVARCHAR(64)NO
eventENUM('view','unlock')NO
created_atDATETIMENO

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