{"table_name":"donorcore_donation_logs","full_table_name":"wp_donorcore_donation_logs","description":"A logging table that records activity, events, or audit history.","detection_method":"static","confidence":"high","create_sql":"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 );","columns":[{"name":"id","type":"BIGINT(20) UNSIGNED","nullable":false,"primary_key":true},{"name":"order_id","type":"BIGINT(20) UNSIGNED","nullable":false,"primary_key":false},{"name":"campaign_id","type":"BIGINT(20) UNSIGNED","nullable":true,"primary_key":false},{"name":"donor_id","type":"BIGINT(20) UNSIGNED","nullable":true,"primary_key":false},{"name":"amount","type":"DECIMAL(18,2)","nullable":false,"primary_key":false},{"name":"currency","type":"CHAR(3)","nullable":false,"primary_key":false},{"name":"type","type":"VARCHAR(20)","nullable":false,"primary_key":false},{"name":"gateway","type":"VARCHAR(50)","nullable":false,"primary_key":false},{"name":"created_at","type":"DATETIME","nullable":false,"primary_key":false}],"plugin":{"slug":"donorcore-donations","name":"DonorCore – Donations for WooCommerce","active_installs":0,"version":"1.3.1","wp_org_url":"https://wordpress.org/plugins/donorcore-donations/"}}