wp_cps_polls

Static

Stores cps polls data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idmediumint(9)NO
titletextNO
optionslongtextNO
categoryvarchar(100)YES
end_datedateYES
btn_colorvarchar(20)YES
input_typevarchar(20)YES
statusvarchar(10)YES
created_atdatetimeNO
poll_idmediumint(9)NO
user_idbigint(20)YES
selected_optiontextNO
ip_addressvarchar(50)YES
voted_atdatetimeNO
poll_idmediumint(9)NO
user_idbigint(20)YES
author_namevarchar(50)NO
comment_contenttextNO
created_atdatetimeNO

CREATE TABLE Statement

CREATE TABLE wp_cps_polls ( id mediumint(9) NOT NULL AUTO_INCREMENT, title text NOT NULL, options longtext NOT NULL, category varchar(100) DEFAULT '전체', end_date date DEFAULT NULL, btn_color varchar(20) DEFAULT '#60A5FA', input_type varchar(20) DEFAULT 'radio', status varchar(10) DEFAULT 'active', created_at datetime DEFAULT CURRENT_TIMESTAMP NOT NULL, PRIMARY KEY (id) ) $charset_collate;"; $sql2 = "CREATE TABLE wp_cps_poll_logs ( id mediumint(9) NOT NULL AUTO_INCREMENT, poll_id mediumint(9) NOT NULL, user_id bigint(20) DEFAULT 0, selected_option text NOT NULL, ip_address varchar(50), voted_at datetime DEFAULT CURRENT_TIMESTAMP NOT NULL, PRIMARY KEY (id) ) $charset_collate;"; $sql3 = "CREATE TABLE wp_cps_poll_comments ( id mediumint(9) NOT NULL AUTO_INCREMENT, poll_id mediumint(9) NOT NULL, user_id bigint(20) DEFAULT 0, author_name varchar(50) NOT NULL, comment_content text NOT NULL, created_at datetime DEFAULT CURRENT_TIMESTAMP NOT NULL, PRIMARY KEY (id) ) $charset_collate;"; require_once(ABSPATH . 'wp-admin/includes/upgrade.php');

Safe to delete?

If you have uninstalled Opinio – Easy Polls & Surveys, 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_cps_polls`;

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

Other tables from Opinio – Easy Polls & Surveys