wp_cps_polls
StaticStores cps polls data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑id | mediumint(9) | NO |
| title | text | NO |
| options | longtext | NO |
| category | varchar(100) | YES |
| end_date | date | YES |
| btn_color | varchar(20) | YES |
| input_type | varchar(20) | YES |
| status | varchar(10) | YES |
| created_at | datetime | NO |
| poll_id | mediumint(9) | NO |
| user_id | bigint(20) | YES |
| selected_option | text | NO |
| ip_address | varchar(50) | YES |
| voted_at | datetime | NO |
| poll_id | mediumint(9) | NO |
| user_id | bigint(20) | YES |
| author_name | varchar(50) | NO |
| comment_content | text | NO |
| created_at | datetime | NO |
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