wp_crmlytics_segments

Static

Stores crmlytics segments data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idSMALLINT(5) UNSIGNEDYES
segment_nameVARCHAR(100)NO
segment_slugVARCHAR(100)NO
rulesJSONYES
created_atDATETIMEYES
updated_atDATETIMEYES

CREATE TABLE Statement

CREATE TABLE wp_crmlytics_segments ( id SMALLINT(5) UNSIGNED AUTO_INCREMENT PRIMARY KEY, segment_name VARCHAR(100) NOT NULL, segment_slug VARCHAR(100) NOT NULL, rules JSON, created_at DATETIME, updated_at DATETIME, UNIQUE KEY segment_slug (segment_slug) ) $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_segments`;

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

Other tables from CRMlytics – WooCommerce CRM & Customer Analytics