wp_crmlytics_email_campaigns
StaticStores crmlytics email campaigns data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑id | BIGINT(20) UNSIGNED | YES |
| campaign_name | VARCHAR(255) | NO |
| campaign_type | ENUM('manual','automated') | YES |
| target_type | ENUM('all','tags','segment') | YES |
| target_tags | JSON | YES |
| target_segment_id | BIGINT(20) UNSIGNED | YES |
| subject | VARCHAR(255) | YES |
| preheader | VARCHAR(255) | YES |
| body | LONGTEXT | YES |
| template | VARCHAR(50) | YES |
| utm_source | VARCHAR(50) | YES |
| utm_medium | VARCHAR(50) | YES |
| utm_campaign | VARCHAR(100) | YES |
| recipient_count | INT(10) | YES |
| sent_count | INT(10) | YES |
| failed_count | INT(10) | YES |
| click_count | INT(10) | YES |
| status | ENUM('draft','scheduled','sending','sent','paused') | YES |
| scheduled_at | DATETIME | YES |
| sent_at | DATETIME | YES |
| created_at | DATETIME | YES |
| updated_at | DATETIME | YES |
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