wp_donorcore_donor_analytics

Static

Stores analytics or statistics data.

Column Definitions

ColumnTypeNullable
donor_emailVARCHAR(100)NO
donor_idBIGINT(20) UNSIGNEDYES
total_lifetime_valueDECIMAL(18,2)NO
donation_countINT UNSIGNEDNO
last_donation_dateDATETIMEYES
first_donation_dateDATETIMEYES

CREATE TABLE Statement

CREATE TABLE wp_donorcore_donor_analytics ( donor_email VARCHAR(100) NOT NULL, donor_id BIGINT(20) UNSIGNED DEFAULT 0, total_lifetime_value DECIMAL(18,2) NOT NULL DEFAULT 0, donation_count INT UNSIGNED NOT NULL DEFAULT 0, last_donation_date DATETIME DEFAULT NULL, first_donation_date DATETIME DEFAULT NULL, PRIMARY KEY (donor_email), KEY donor_id (donor_id), KEY total_lifetime_value (total_lifetime_value) ) $charset_collate;"; dbDelta( $sql_analytics );

Safe to delete?

If you have uninstalled DonorCore – Donations for WooCommerce, 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_donorcore_donor_analytics`;

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

Other tables from DonorCore – Donations for WooCommerce