wp_donorcore_donor_analytics
StaticStores analytics or statistics data.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| donor_email | VARCHAR(100) | NO |
| donor_id | BIGINT(20) UNSIGNED | YES |
| total_lifetime_value | DECIMAL(18,2) | NO |
| donation_count | INT UNSIGNED | NO |
| last_donation_date | DATETIME | YES |
| first_donation_date | DATETIME | YES |
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