wp_comic_collection
StaticStores comic collection data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑id | bigint(20) unsigned | NO |
| user_id | bigint(20) unsigned | NO |
| title | varchar(255) | NO |
| story_title | varchar(255) | YES |
| subtitle | varchar(255) | YES |
| issue_number | varchar(50) | YES |
| issue_ext | varchar(10) | YES |
| edition | varchar(200) | YES |
| printing | smallint unsigned | YES |
| publisher | varchar(100) | YES |
| imprint | varchar(100) | YES |
| series | varchar(200) | YES |
| series_group | varchar(100) | YES |
| volume | varchar(50) | YES |
| year | smallint | YES |
| cover_date | varchar(50) | YES |
| release_date | date | YES |
| format | varchar(50) | YES |
| age_category | varchar(20) | YES |
| country | varchar(50) | YES |
| language | varchar(50) | YES |
| page_count | smallint | YES |
| condition_grade | varchar(50) | YES |
| condition_score | decimal(3,1) | YES |
| is_slabbed | tinyint(1) | YES |
| slab_company | varchar(20) | YES |
| slab_grade | decimal(3,1) | YES |
| cert_number | varchar(50) | YES |
| grader_notes | text | YES |
| purchase_price | decimal(10,2) | YES |
| cover_price | decimal(10,2) | YES |
| estimated_value | decimal(10,2) | YES |
| price_floor | decimal(10,2) | YES |
| plot | text | YES |
| notes | text | YES |
| genres | varchar(255) | YES |
| story_arc | varchar(200) | YES |
| crossover | varchar(200) | YES |
| signees | varchar(255) | YES |
| location | varchar(100) | YES |
| store | varchar(100) | YES |
| is_read | tinyint(1) | YES |
| my_rating | tinyint | YES |
| quantity | smallint | YES |
| barcode | varchar(50) | YES |
| image_id | bigint(20) unsigned | YES |
| cover_url | text | YES |
| comic_vine_id | varchar(50) | YES |
| clz_id | varchar(50) | YES |
| clz_hash | varchar(100) | YES |
| purchase_date | date | YES |
| status | varchar(20) | YES |
| wc_product_id | bigint(20) unsigned | YES |
| listed_price | decimal(10,2) | YES |
| listed_at | datetime | YES |
| price_updated_at | datetime | YES |
| price_source | varchar(50) | YES |
| price_confidence | varchar(10) | YES |
| price_sample | smallint unsigned | YES |
| pricecharting_id | int unsigned | YES |
| price_locked | tinyint(1) | YES |
| cgc_census_total | int unsigned | YES |
| cgc_census_grade_count | int unsigned | YES |
| allow_offers | tinyint(1) | YES |
| is_variant | tinyint(1) | YES |
| variant_description | varchar(255) | YES |
| cover_artist | varchar(255) | YES |
| parent_id | bigint(20) | YES |
| variant_type | varchar(100) | YES |
| created_at | datetime | YES |
| updated_at | datetime | YES |
| user_id | bigint(20) unsigned | NO |
| comic_id | bigint(20) unsigned | YES |
| title | varchar(255) | NO |
| story_title | varchar(255) | YES |
| issue_number | varchar(50) | YES |
| edition | varchar(200) | YES |
| is_variant | tinyint(1) | YES |
| variant_description | varchar(255) | YES |
| cover_artist | varchar(255) | YES |
| publisher | varchar(100) | YES |
| series | varchar(200) | YES |
| volume | varchar(50) | YES |
| year | smallint | YES |
| condition_grade | varchar(50) | YES |
| condition_score | decimal(3,1) | YES |
| is_slabbed | tinyint(1) | YES |
| slab_company | varchar(20) | YES |
| slab_grade | decimal(3,1) | YES |
| cert_number | varchar(50) | YES |
| purchase_price | decimal(10,2) | YES |
| cover_price | decimal(10,2) | YES |
| sale_price | decimal(10,2) | YES |
| profit | decimal(10,2) | YES |
| wc_order_id | bigint(20) unsigned | YES |
| image_id | bigint(20) unsigned | YES |
| notes | text | YES |
| clz_hash | varchar(100) | YES |
| sold_at | datetime | YES |
| comic_id | bigint(20) unsigned | NO |
| source | varchar(50) | YES |
| price | decimal(10,2) | YES |
| condition_text | varchar(100) | YES |
| fetched_at | datetime | YES |
| comic_id | bigint(20) unsigned | NO |
| comic_title | varchar(255) | NO |
| offer_name | varchar(200) | NO |
| offer_email | varchar(200) | NO |
| offer_amount | decimal(10,2) | NO |
| offer_message | text | YES |
| status | varchar(20) | YES |
| admin_notes | text | YES |
| ip_address | varchar(45) | YES |
| email_sent | tinyint(1) | YES |
| offer_token | varchar(64) | YES |
| parent_id | bigint(20) unsigned | YES |
| counter_amount | decimal(10,2) | YES |
| created_at | datetime | YES |
| updated_at | datetime | YES |
| comic_id | bigint(20) unsigned | NO |
| field_id | varchar(100) | NO |
| field_value | text | YES |
| comic_id | bigint(20) unsigned | NO |
| author_name | varchar(100) | NO |
| author_email | varchar(200) | NO |
| annotation_text | text | NO |
| annotation_type | enum('first_appearance','key_story','creator_note','variant_note','historical','other') | YES |
| status | enum('pending','approved','rejected') | YES |
| submitted_at | datetime | YES |
| approved_at | datetime | YES |
| approved_by | bigint(20) unsigned | YES |
| user_id | bigint(20) unsigned | NO |
| title | varchar(255) | NO |
| publisher | varchar(100) | YES |
| cv_volume_id | bigint(20) unsigned | YES |
| cv_volume_url | varchar(500) | YES |
| cover_image_url | varchar(500) | YES |
| start_year | smallint | YES |
| is_active | tinyint(1) | YES |
| last_cv_check | datetime | YES |
| created_at | datetime | YES |
| updated_at | datetime | YES |
| user_id | bigint(20) unsigned | NO |
| series_id | bigint(20) unsigned | YES |
| list_id | bigint(20) unsigned | YES |
| title | varchar(255) | NO |
| issue_number | varchar(50) | YES |
| publisher | varchar(100) | YES |
| variant_description | varchar(255) | YES |
| cv_issue_id | bigint(20) unsigned | YES |
| cv_issue_url | varchar(500) | YES |
| cover_image_url | varchar(500) | YES |
| cover_date | varchar(50) | YES |
| release_date | date | YES |
| status | enum('upcoming','pulled','skipped','missed') | YES |
| comic_id | bigint(20) unsigned | YES |
| notes | text | YES |
| created_at | datetime | YES |
| updated_at | datetime | YES |
CREATE TABLE Statement
CREATE TABLE wp_comic_collection ( id bigint(20) unsigned NOT NULL AUTO_INCREMENT, user_id bigint(20) unsigned NOT NULL DEFAULT 0, title varchar(255) NOT NULL, story_title varchar(255) DEFAULT '', subtitle varchar(255) DEFAULT '', issue_number varchar(50) DEFAULT '', issue_ext varchar(10) DEFAULT '', edition varchar(200) DEFAULT '', printing smallint unsigned DEFAULT 1, publisher varchar(100) DEFAULT '', imprint varchar(100) DEFAULT '', series varchar(200) DEFAULT '', series_group varchar(100) DEFAULT '', volume varchar(50) DEFAULT '', year smallint DEFAULT NULL, cover_date varchar(50) DEFAULT '', release_date date DEFAULT NULL, format varchar(50) DEFAULT 'Comic', age_category varchar(20) DEFAULT '', country varchar(50) DEFAULT '', language varchar(50) DEFAULT '', page_count smallint DEFAULT NULL, condition_grade varchar(50) DEFAULT '', condition_score decimal(3,1) DEFAULT NULL, is_slabbed tinyint(1) DEFAULT 0, slab_company varchar(20) DEFAULT '', slab_grade decimal(3,1) DEFAULT NULL, cert_number varchar(50) DEFAULT '', grader_notes text, purchase_price decimal(10,2) DEFAULT NULL, cover_price decimal(10,2) DEFAULT NULL, estimated_value decimal(10,2) DEFAULT NULL, price_floor decimal(10,2) DEFAULT NULL, plot text, notes text, genres varchar(255) DEFAULT '', story_arc varchar(200) DEFAULT '', crossover varchar(200) DEFAULT '', key_issue varchar(20) DEFAULT '', key_reason text, key_categories varchar(255) DEFAULT '', signees varchar(255) DEFAULT '', location varchar(100) DEFAULT '', store varchar(100) DEFAULT '', is_read tinyint(1) DEFAULT 0, my_rating tinyint DEFAULT 0, quantity smallint DEFAULT 1, barcode varchar(50) DEFAULT '', image_id bigint(20) unsigned DEFAULT NULL, cover_url text, comic_vine_id varchar(50) DEFAULT '', clz_id varchar(50) DEFAULT '', clz_hash varchar(100) DEFAULT '', purchase_date date DEFAULT NULL, status varchar(20) DEFAULT 'collection', wc_product_id bigint(20) unsigned DEFAULT NULL, listed_price decimal(10,2) DEFAULT NULL, listed_at datetime DEFAULT NULL, price_updated_at datetime DEFAULT NULL, price_source varchar(50) DEFAULT '', price_confidence varchar(10) DEFAULT 'normal', price_sample smallint unsigned DEFAULT NULL, pricecharting_id int unsigned DEFAULT NULL, price_locked tinyint(1) DEFAULT 0, cgc_census_total int unsigned DEFAULT NULL, cgc_census_grade_count int unsigned DEFAULT NULL, allow_offers tinyint(1) DEFAULT 0, is_variant tinyint(1) DEFAULT 0, variant_description varchar(255) DEFAULT '', cover_artist varchar(255) DEFAULT '', parent_id bigint(20) DEFAULT NULL, variant_type varchar(100) DEFAULT NULL, created_at datetime DEFAULT CURRENT_TIMESTAMP, updated_at datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (id), KEY idx_user (user_id), KEY idx_status (status), KEY idx_publisher (publisher), KEY idx_barcode (barcode), KEY idx_wc_product (wc_product_id), KEY idx_clz_id (clz_id), KEY idx_clz_hash (clz_hash), KEY idx_parent_id (parent_id) ) $charset; CREATE TABLE wp_comic_sold ( id bigint(20) unsigned NOT NULL AUTO_INCREMENT, user_id bigint(20) unsigned NOT NULL DEFAULT 0, comic_id bigint(20) unsigned DEFAULT NULL, title varchar(255) NOT NULL, story_title varchar(255) DEFAULT '', issue_number varchar(50) DEFAULT '', edition varchar(200) DEFAULT '', is_variant tinyint(1) DEFAULT 0, variant_description varchar(255) DEFAULT '', cover_artist varchar(255) DEFAULT '', publisher varchar(100) DEFAULT '', series varchar(200) DEFAULT '', volume varchar(50) DEFAULT '', year smallint DEFAULT NULL, condition_grade varchar(50) DEFAULT '', condition_score decimal(3,1) DEFAULT NULL, is_slabbed tinyint(1) DEFAULT 0, slab_company varchar(20) DEFAULT '', slab_grade decimal(3,1) DEFAULT NULL, cert_number varchar(50) DEFAULT '', key_issue varchar(20) DEFAULT '', key_reason text, purchase_price decimal(10,2) DEFAULT NULL, cover_price decimal(10,2) DEFAULT NULL, sale_price decimal(10,2) DEFAULT NULL, profit decimal(10,2) DEFAULT NULL, wc_order_id bigint(20) unsigned DEFAULT NULL, image_id bigint(20) unsigned DEFAULT NULL, notes text, clz_hash varchar(100) DEFAULT '', sold_at datetime DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (id), KEY idx_user (user_id) ) $charset; CREATE TABLE wp_comic_price_history ( id bigint(20) unsigned NOT NULL AUTO_INCREMENT, comic_id bigint(20) unsigned NOT NULL, source varchar(50) DEFAULT 'ebay', price decimal(10,2) DEFAULT NULL, condition_text varchar(100) DEFAULT '', fetched_at datetime DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (id), KEY idx_comic (comic_id) ) $charset; CREATE TABLE wp_comic_offers ( id bigint(20) unsigned NOT NULL AUTO_INCREMENT, comic_id bigint(20) unsigned NOT NULL, comic_title varchar(255) NOT NULL DEFAULT '', offer_name varchar(200) NOT NULL, offer_email varchar(200) NOT NULL, offer_amount decimal(10,2) NOT NULL, offer_message text, status varchar(20) DEFAULT 'pending', admin_notes text, ip_address varchar(45) DEFAULT '', email_sent tinyint(1) DEFAULT 0, offer_token varchar(64) DEFAULT '', parent_id bigint(20) unsigned DEFAULT 0, counter_amount decimal(10,2) DEFAULT NULL, created_at datetime DEFAULT CURRENT_TIMESTAMP, updated_at datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (id), KEY idx_comic (comic_id), KEY idx_status (status), KEY idx_token (offer_token), KEY idx_parent (parent_id) ) $charset; CREATE TABLE wp_comic_custom_field_values ( id bigint(20) unsigned NOT NULL AUTO_INCREMENT, comic_id bigint(20) unsigned NOT NULL, field_id varchar(100) NOT NULL, field_value text DEFAULT NULL, PRIMARY KEY (id), UNIQUE KEY comic_field (comic_id, field_id), KEY idx_comic_id (comic_id) ) $charset; CREATE TABLE wp_comic_annotations ( id bigint(20) unsigned NOT NULL AUTO_INCREMENT, comic_id bigint(20) unsigned NOT NULL, author_name varchar(100) NOT NULL, author_email varchar(200) NOT NULL, annotation_text text NOT NULL, annotation_type enum('first_appearance','key_story','creator_note','variant_note','historical','other') DEFAULT 'other', status enum('pending','approved','rejected') DEFAULT 'pending', submitted_at datetime DEFAULT CURRENT_TIMESTAMP, approved_at datetime DEFAULT NULL, approved_by bigint(20) unsigned DEFAULT NULL, PRIMARY KEY (id), KEY comic_id (comic_id), KEY status (status), KEY submitted_at (submitted_at) ) $charset; CREATE TABLE wp_comic_pull_series ( id bigint(20) unsigned NOT NULL AUTO_INCREMENT, user_id bigint(20) unsigned NOT NULL DEFAULT 0, title varchar(255) NOT NULL, publisher varchar(100) DEFAULT '', cv_volume_id bigint(20) unsigned DEFAULT NULL, cv_volume_url varchar(500) DEFAULT '', cover_image_url varchar(500) DEFAULT '', start_year smallint DEFAULT NULL, is_active tinyint(1) DEFAULT 1, last_cv_check datetime DEFAULT NULL, created_at datetime DEFAULT CURRENT_TIMESTAMP, updated_at datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (id), KEY idx_user (user_id), KEY idx_user_active (user_id, is_active), KEY idx_cv_volume (cv_volume_id), UNIQUE KEY uniq_user_volume (user_id, cv_volume_id) ) $charset; CREATE TABLE wp_comic_pull_items ( id bigint(20) unsigned NOT NULL AUTO_INCREMENT, user_id bigint(20) unsigned NOT NULL DEFAULT 0, series_id bigint(20) unsigned DEFAULT NULL, list_id bigint(20) unsigned DEFAULT NULL, title varchar(255) NOT NULL, issue_number varchar(50) DEFAULT '', publisher varchar(100) DEFAULT '', variant_description varchar(255) DEFAULT '', cv_issue_id bigint(20) unsigned DEFAULT NULL, cv_issue_url varchar(500) DEFAULT '', cover_image_url varchar(500) DEFAULT '', cover_date varchar(50) DEFAULT '', release_date date DEFAULT NULL, status enum('upcoming','pulled','skipped','missed') DEFAULT 'upcoming', comic_id bigint(20) unsigned DEFAULT NULL, notes text, created_at datetime DEFAULT CURRENT_TIMESTAMP, updated_at datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (id), KEY idx_user (user_id), KEY idx_user_status (user_id, status), KEY idx_series (series_id), KEY idx_list (list_id), KEY idx_release_date (release_date), KEY idx_cv_issue (cv_issue_id), KEY idx_comic (comic_id), UNIQUE KEY uniq_user_cv_issue (user_id, cv_issue_id) ) $charset; "; require_once ABSPATH . 'wp-admin/includes/upgrade.php'; dbDelta( $sql );Safe to delete?
If you have uninstalled Comic Collector, 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_comic_collection`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.
Other tables from Comic Collector