wp_crmlytics_contacts
StaticStores crmlytics contacts data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑id | BIGINT(20) UNSIGNED | YES |
| wc_customer_id | BIGINT(20) UNSIGNED | NO |
| VARCHAR(100) | NO | |
| first_name | VARCHAR(100) | YES |
| last_name | VARCHAR(100) | YES |
| phone | VARCHAR(20) | YES |
| billing_company | VARCHAR(100) | YES |
| billing_address_1 | TEXT | YES |
| billing_address_2 | TEXT | YES |
| billing_city | VARCHAR(100) | YES |
| billing_state | VARCHAR(100) | YES |
| billing_postcode | VARCHAR(20) | YES |
| billing_country | VARCHAR(10) | YES |
| shipping_address_1 | TEXT | YES |
| shipping_address_2 | TEXT | YES |
| shipping_city | VARCHAR(100) | YES |
| shipping_state | VARCHAR(100) | YES |
| shipping_postcode | VARCHAR(20) | YES |
| shipping_country | VARCHAR(10) | YES |
| created_at | DATETIME | YES |
| updated_at | DATETIME | YES |
CREATE TABLE Statement
CREATE TABLE wp_crmlytics_contacts ( id BIGINT(20) UNSIGNED AUTO_INCREMENT PRIMARY KEY, wc_customer_id BIGINT(20) UNSIGNED NOT NULL DEFAULT 0, email VARCHAR(100) NOT NULL, first_name VARCHAR(100), last_name VARCHAR(100), phone VARCHAR(20), billing_company VARCHAR(100), billing_address_1 TEXT, billing_address_2 TEXT, billing_city VARCHAR(100), billing_state VARCHAR(100), billing_postcode VARCHAR(20), billing_country VARCHAR(10), shipping_address_1 TEXT, shipping_address_2 TEXT, shipping_city VARCHAR(100), shipping_state VARCHAR(100), shipping_postcode VARCHAR(20), shipping_country VARCHAR(10), created_at DATETIME, updated_at DATETIME, INDEX idx_email (email), INDEX idx_wc_customer_id (wc_customer_id) ) $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_contacts`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.
Other tables from CRMlytics – WooCommerce CRM & Customer Analytics