wp_aipgp_skills

Static

Stores aipgp skills data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idBIGINT UNSIGNEDYES
slugVARCHAR(191)NO
nameVARCHAR(191)NO
versionVARCHAR(32)YES
task_typesVARCHAR(255)YES
sourceENUM('bundled','uploaded','remote')NO
file_pathVARCHAR(512)YES
bodyLONGTEXTYES
enabledTINYINT(1)YES
updated_atDATETIMEYES
typeENUM('published_posts','uploaded_file','product_research','random')NO
configLONGTEXTYES
🔑enabledTINYINT(1)YES
product_slugVARCHAR(191)YES
labelVARCHAR(191)YES
typeVARCHAR(64)YES
urlVARCHAR(512)YES
notesTEXTYES
source_idBIGINT UNSIGNEDYES
source_typeVARCHAR(64)YES
topicLONGTEXTYES
statusVARCHAR(64)NO
post_idBIGINT UNSIGNEDYES
tokens_inINT UNSIGNEDYES
tokens_outINT UNSIGNEDYES
step_dataLONGTEXTYES
error_logTEXTYES
scheduled_atDATETIMEYES
created_atDATETIMEYES
updated_atDATETIMEYES
job_idBIGINT UNSIGNEDYES
stepVARCHAR(64)YES
providerVARCHAR(64)YES
modelVARCHAR(64)YES
tokens_inINTYES
tokens_outINTYES
raw_responseLONGTEXTYES
created_atDATETIMEYES
post_idBIGINT UNSIGNEDYES
platformVARCHAR(32)YES
contentLONGTEXTYES
sourceVARCHAR(32)YES
statusENUM('draft','approved','published','n/a')YES
scheduled_publish_atDATETIMEYES
auto_publishTINYINT(1)YES
profile_keysTEXTYES
template_idBIGINT UNSIGNEDYES
share_countINTYES
last_shared_atDATETIMEYES
created_atDATETIMEYES
updated_atDATETIMEYES
platformVARCHAR(32)NO
profile_keyVARCHAR(191)NO
profile_idVARCHAR(191)YES
nameVARCHAR(255)YES
usernameVARCHAR(255)YES
thumbnail_urlVARCHAR(512)YES
account_typeVARCHAR(32)YES
statusTINYINT(1)YES
app_idVARCHAR(255)YES
app_secretTEXTYES
access_tokenLONGTEXTYES
refresh_tokenLONGTEXTYES
token_expires_atDATETIMEYES
platform_settingsLONGTEXTYES
created_byBIGINT UNSIGNEDYES
created_atDATETIMEYES
updated_atDATETIMEYES
post_idBIGINT UNSIGNEDNO
draft_idBIGINT UNSIGNEDYES
platformVARCHAR(32)NO
profile_keyVARCHAR(191)NO
contentLONGTEXTYES
media_urlsTEXTYES
statusVARCHAR(32)NO
scheduled_atDATETIMEYES
published_atDATETIMEYES
platform_post_idVARCHAR(255)YES
platform_post_urlVARCHAR(512)YES
error_messageTEXTYES
retry_countINTYES
created_atDATETIMEYES
updated_atDATETIMEYES
platformVARCHAR(32)NO
nameVARCHAR(191)NO
template_structureLONGTEXTNO
content_typeVARCHAR(32)YES
content_sourceVARCHAR(32)YES
character_limitINTYES
include_featured_imageTINYINT(1)YES
include_categories_as_tagsTINYINT(1)YES
clean_html_and_shortcodesTINYINT(1)YES
is_defaultTINYINT(1)YES
created_atDATETIMEYES
updated_atDATETIMEYES
day_of_weekTINYINT UNSIGNEDNO
time_slotTIMENO
post_typesVARCHAR(255)YES
category_idsTEXTYES
is_activeTINYINT(1)YES
created_atDATETIMEYES
post_idBIGINT UNSIGNEDNO
event_typeVARCHAR(32)NO
recipient_emailVARCHAR(255)NO
recipient_nameVARCHAR(255)YES
recipient_roleVARCHAR(64)YES
subjectVARCHAR(255)YES
statusVARCHAR(32)YES
error_messageTEXTYES
sent_atDATETIMEYES

CREATE TABLE Statement

CREATE TABLE wp_aipgp_skills ( id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY, slug VARCHAR(191) NOT NULL, name VARCHAR(191) NOT NULL, version VARCHAR(32) NULL, task_types VARCHAR(255) NULL, source ENUM('bundled','uploaded','remote') NOT NULL, file_path VARCHAR(512) NULL, checksum VARCHAR(64) NULL, body LONGTEXT NULL, enabled TINYINT(1) DEFAULT 1, updated_at DATETIME NULL, KEY slug (slug) ) $charset_collate;"; $sql[] = "CREATE TABLE wp_aipgp_sources ( id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY, type ENUM('published_posts','uploaded_file','product_research','random') NOT NULL, config LONGTEXT NULL, enabled TINYINT(1) DEFAULT 1 ) $charset_collate;"; $sql[] = "CREATE TABLE wp_aipgp_link_relations ( id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY, product_slug VARCHAR(191) NULL, label VARCHAR(191) NULL, type VARCHAR(64) NULL, url VARCHAR(512) NULL, notes TEXT NULL, KEY product_slug (product_slug) ) $charset_collate;"; $sql[] = "CREATE TABLE wp_aipgp_generation_jobs ( id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY, source_id BIGINT UNSIGNED NULL, source_type VARCHAR(64) NULL, topic LONGTEXT NULL, status VARCHAR(64) NOT NULL DEFAULT 'pending', post_id BIGINT UNSIGNED NULL, tokens_in INT UNSIGNED DEFAULT 0, tokens_out INT UNSIGNED DEFAULT 0, step_data LONGTEXT NULL, error_log TEXT NULL, scheduled_at DATETIME NULL, created_at DATETIME NULL, updated_at DATETIME NULL, KEY status (status), KEY status_scheduled (status, scheduled_at), KEY updated_at (updated_at), KEY post_id (post_id) ) $charset_collate;"; $sql[] = "CREATE TABLE wp_aipgp_generation_logs ( id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY, job_id BIGINT UNSIGNED NULL, step VARCHAR(64) NULL, provider VARCHAR(64) NULL, model VARCHAR(64) NULL, tokens_in INT NULL, tokens_out INT NULL, raw_response LONGTEXT NULL, created_at DATETIME NULL, KEY job_id (job_id) ) $charset_collate;"; $sql[] = "CREATE TABLE wp_aipgp_social_drafts ( id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY, post_id BIGINT UNSIGNED NULL, platform VARCHAR(32) NULL, content LONGTEXT NULL, source VARCHAR(32) DEFAULT 'ai', status ENUM('draft','approved','published','n/a') DEFAULT 'draft', scheduled_publish_at DATETIME NULL, auto_publish TINYINT(1) DEFAULT 0, profile_keys TEXT NULL, template_id BIGINT UNSIGNED NULL, share_count INT DEFAULT 0, last_shared_at DATETIME NULL, created_at DATETIME NULL, updated_at DATETIME NULL, KEY post_id (post_id) ) $charset_collate;"; $sql[] = "CREATE TABLE wp_aipgp_social_profiles ( id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY, platform VARCHAR(32) NOT NULL, profile_key VARCHAR(191) NOT NULL, profile_id VARCHAR(191) NULL, name VARCHAR(255) NULL, username VARCHAR(255) NULL, thumbnail_url VARCHAR(512) NULL, account_type VARCHAR(32) NULL, status TINYINT(1) DEFAULT 1, app_id VARCHAR(255) NULL, app_secret TEXT NULL, access_token LONGTEXT NULL, refresh_token LONGTEXT NULL, token_expires_at DATETIME NULL, platform_settings LONGTEXT NULL, created_by BIGINT UNSIGNED NULL, created_at DATETIME NULL, updated_at DATETIME NULL, UNIQUE KEY uq_profile_key (profile_key), KEY idx_platform (platform), KEY idx_status (status) ) $charset_collate;"; $sql[] = "CREATE TABLE wp_aipgp_social_queue ( id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY, post_id BIGINT UNSIGNED NOT NULL, draft_id BIGINT UNSIGNED NULL, platform VARCHAR(32) NOT NULL, profile_key VARCHAR(191) NOT NULL, content LONGTEXT NULL, media_urls TEXT NULL, status VARCHAR(32) NOT NULL DEFAULT 'pending', scheduled_at DATETIME NULL, published_at DATETIME NULL, platform_post_id VARCHAR(255) NULL, platform_post_url VARCHAR(512) NULL, error_message TEXT NULL, retry_count INT DEFAULT 0, created_at DATETIME NULL, updated_at DATETIME NULL, KEY idx_post_id (post_id), KEY idx_status_scheduled (status, scheduled_at), KEY idx_platform (platform), KEY idx_profile_key (profile_key) ) $charset_collate;"; $sql[] = "CREATE TABLE wp_aipgp_social_templates ( id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY, platform VARCHAR(32) NOT NULL, name VARCHAR(191) NOT NULL, template_structure LONGTEXT NOT NULL, content_type VARCHAR(32) DEFAULT 'statuswithlink', content_source VARCHAR(32) DEFAULT 'content', character_limit INT DEFAULT 280, include_featured_image TINYINT(1) DEFAULT 1, include_categories_as_tags TINYINT(1) DEFAULT 1, clean_html_and_shortcodes TINYINT(1) DEFAULT 1, is_default TINYINT(1) DEFAULT 0, created_at DATETIME NULL, updated_at DATETIME NULL, KEY idx_platform (platform), UNIQUE KEY uq_platform_name (platform, name) ) $charset_collate;"; $sql[] = "CREATE TABLE wp_aipgp_schedule_slots ( id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY, day_of_week TINYINT UNSIGNED NOT NULL, time_slot TIME NOT NULL, post_types VARCHAR(255) DEFAULT 'post', category_ids TEXT NULL, is_active TINYINT(1) DEFAULT 1, created_at DATETIME NULL, KEY idx_day_time (day_of_week, time_slot), KEY idx_active (is_active) ) $charset_collate;"; $sql[] = "CREATE TABLE wp_aipgp_email_logs ( id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY, post_id BIGINT UNSIGNED NOT NULL, event_type VARCHAR(32) NOT NULL, recipient_email VARCHAR(255) NOT NULL, recipient_name VARCHAR(255) NULL, recipient_role VARCHAR(64) NULL, subject VARCHAR(255) NULL, status VARCHAR(32) DEFAULT 'sent', error_message TEXT NULL, sent_at DATETIME NULL, KEY idx_post_event (post_id, event_type), KEY idx_sent_at (sent_at) ) $charset_collate;"; foreach ( $sql as $statement ) { dbDelta( $statement );

Safe to delete?

If you have uninstalled Postloom – AI Post Generator and Publisher | Autonomous Post Publishing Engine, 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_aipgp_skills`;

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

Other tables from Postloom – AI Post Generator and Publisher | Autonomous Post Publishing Engine