{"table_name":"clientoctopus_recurring_profiles","full_table_name":"wp_clientoctopus_recurring_profiles","description":"Stores clientoctopus recurring profiles data created by this plugin.","detection_method":"static","confidence":"medium","create_sql":"CREATE TABLE wp_clientoctopus_recurring_profiles ( id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, owner_id BIGINT UNSIGNED NOT NULL, client_id BIGINT UNSIGNED NOT NULL, title VARCHAR(255) NOT NULL DEFAULT '', line_items LONGTEXT DEFAULT NULL, currency VARCHAR(3) NOT NULL DEFAULT 'GBP', discount_type ENUM('percentage','fixed') NOT NULL DEFAULT 'percentage', discount_value DECIMAL(10,2) NOT NULL DEFAULT 0, vat_pct DECIMAL(5,2) NOT NULL DEFAULT 0, frequency ENUM('weekly','monthly','quarterly','yearly') NOT NULL DEFAULT 'monthly', start_date DATE NOT NULL, end_date DATE DEFAULT NULL, max_occurrences SMALLINT UNSIGNED DEFAULT NULL, occurrences_sent SMALLINT UNSIGNED NOT NULL DEFAULT 0, next_run_date DATE NOT NULL, billing_mode ENUM('manual','auto_charge') NOT NULL DEFAULT 'manual', status ENUM('active','paused','cancelled') NOT NULL DEFAULT 'active', created_at DATETIME DEFAULT NULL, updated_at DATETIME DEFAULT NULL, PRIMARY KEY (id), KEY owner_id (owner_id), KEY client_id (client_id), KEY next_run_date (next_run_date), KEY status (status) ) $charset_collate;\" );","columns":[{"name":"id","type":"BIGINT UNSIGNED","nullable":false,"primary_key":true},{"name":"owner_id","type":"BIGINT UNSIGNED","nullable":false,"primary_key":false},{"name":"client_id","type":"BIGINT UNSIGNED","nullable":false,"primary_key":false},{"name":"title","type":"VARCHAR(255)","nullable":false,"primary_key":false},{"name":"line_items","type":"LONGTEXT","nullable":true,"primary_key":false},{"name":"currency","type":"VARCHAR(3)","nullable":false,"primary_key":false},{"name":"discount_type","type":"ENUM('percentage','fixed')","nullable":false,"primary_key":false},{"name":"discount_value","type":"DECIMAL(10,2)","nullable":false,"primary_key":false},{"name":"vat_pct","type":"DECIMAL(5,2)","nullable":false,"primary_key":false},{"name":"frequency","type":"ENUM('weekly','monthly','quarterly','yearly')","nullable":false,"primary_key":false},{"name":"start_date","type":"DATE","nullable":false,"primary_key":false},{"name":"end_date","type":"DATE","nullable":true,"primary_key":false},{"name":"max_occurrences","type":"SMALLINT UNSIGNED","nullable":true,"primary_key":false},{"name":"occurrences_sent","type":"SMALLINT UNSIGNED","nullable":false,"primary_key":false},{"name":"next_run_date","type":"DATE","nullable":false,"primary_key":false},{"name":"billing_mode","type":"ENUM('manual','auto_charge')","nullable":false,"primary_key":false},{"name":"status","type":"ENUM('active','paused','cancelled')","nullable":false,"primary_key":false},{"name":"created_at","type":"DATETIME","nullable":true,"primary_key":false},{"name":"updated_at","type":"DATETIME","nullable":true,"primary_key":false}],"plugin":{"slug":"clientoctopus","name":"Client Octopus","active_installs":0,"version":"1.4.1","wp_org_url":"https://wordpress.org/plugins/clientoctopus/"}}