wp_crmlytics_contacts

Static

Stores crmlytics contacts data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idBIGINT(20) UNSIGNEDYES
wc_customer_idBIGINT(20) UNSIGNEDNO
emailVARCHAR(100)NO
first_nameVARCHAR(100)YES
last_nameVARCHAR(100)YES
phoneVARCHAR(20)YES
billing_companyVARCHAR(100)YES
billing_address_1TEXTYES
billing_address_2TEXTYES
billing_cityVARCHAR(100)YES
billing_stateVARCHAR(100)YES
billing_postcodeVARCHAR(20)YES
billing_countryVARCHAR(10)YES
shipping_address_1TEXTYES
shipping_address_2TEXTYES
shipping_cityVARCHAR(100)YES
shipping_stateVARCHAR(100)YES
shipping_postcodeVARCHAR(20)YES
shipping_countryVARCHAR(10)YES
created_atDATETIMEYES
updated_atDATETIMEYES

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