wp_donorcore_donation_logs

Static

A logging table that records activity, events, or audit history.

Column Definitions

ColumnTypeNullable
🔑idBIGINT(20) UNSIGNEDNO
order_idBIGINT(20) UNSIGNEDNO
campaign_idBIGINT(20) UNSIGNEDYES
donor_idBIGINT(20) UNSIGNEDYES
amountDECIMAL(18,2)NO
currencyCHAR(3)NO
typeVARCHAR(20)NO
gatewayVARCHAR(50)NO
created_atDATETIMENO

CREATE TABLE Statement

CREATE TABLE wp_donorcore_donation_logs ( id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, order_id BIGINT(20) UNSIGNED NOT NULL, campaign_id BIGINT(20) UNSIGNED DEFAULT 0, donor_id BIGINT(20) UNSIGNED DEFAULT 0, amount DECIMAL(18,2) NOT NULL, currency CHAR(3) NOT NULL DEFAULT 'USD', type VARCHAR(20) NOT NULL DEFAULT 'one-time', gateway VARCHAR(50) NOT NULL DEFAULT 'unknown', created_at DATETIME NOT NULL, PRIMARY KEY (id), KEY order_id (order_id), KEY campaign_id (campaign_id), KEY donor_id (donor_id), KEY type (type), KEY created_at (created_at) ) $charset_collate;"; dbDelta( $sql_logs );

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_donation_logs`;

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

Other tables from DonorCore – Donations for WooCommerce