wp_crmlytics_email_campaigns

Static

Stores crmlytics email campaigns data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idBIGINT(20) UNSIGNEDYES
campaign_nameVARCHAR(255)NO
campaign_typeENUM('manual','automated')YES
target_typeENUM('all','tags','segment')YES
target_tagsJSONYES
target_segment_idBIGINT(20) UNSIGNEDYES
subjectVARCHAR(255)YES
preheaderVARCHAR(255)YES
bodyLONGTEXTYES
templateVARCHAR(50)YES
utm_sourceVARCHAR(50)YES
utm_mediumVARCHAR(50)YES
utm_campaignVARCHAR(100)YES
recipient_countINT(10)YES
sent_countINT(10)YES
failed_countINT(10)YES
click_countINT(10)YES
statusENUM('draft','scheduled','sending','sent','paused')YES
scheduled_atDATETIMEYES
sent_atDATETIMEYES
created_atDATETIMEYES
updated_atDATETIMEYES

CREATE TABLE Statement

CREATE TABLE wp_crmlytics_email_campaigns ( id BIGINT(20) UNSIGNED AUTO_INCREMENT PRIMARY KEY, campaign_name VARCHAR(255) NOT NULL, campaign_type ENUM('manual','automated') DEFAULT 'manual', target_type ENUM('all','tags','segment') DEFAULT 'all', target_tags JSON, target_segment_id BIGINT(20) UNSIGNED, subject VARCHAR(255), preheader VARCHAR(255), body LONGTEXT, template VARCHAR(50) DEFAULT 'basic', utm_source VARCHAR(50) DEFAULT 'crmlytics', utm_medium VARCHAR(50) DEFAULT 'email', utm_campaign VARCHAR(100), recipient_count INT(10) DEFAULT 0, sent_count INT(10) DEFAULT 0, failed_count INT(10) DEFAULT 0, click_count INT(10) DEFAULT 0, status ENUM('draft','scheduled','sending','sent','paused') DEFAULT 'draft', scheduled_at DATETIME, sent_at DATETIME, created_at DATETIME, updated_at DATETIME ) $charset_collate;"; dbDelta($sql);

Safe to delete?

If you have uninstalled CRMlytics – WooCommerce CRM & Customer Analytics, 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_crmlytics_email_campaigns`;

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

Other tables from CRMlytics – WooCommerce CRM & Customer Analytics