wp_clientoctopus_payments

Static

Stores clientoctopus payments data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idINTNO
proposal_idINTNO
client_idINTYES
owner_idINTNO
amountDECIMAL(12,2)NO
currencyVARCHAR(3)NO
deposit_pctTINYINT UNSIGNEDNO
stripe_session_idVARCHAR(255)YES
stripe_payment_intent_idVARCHAR(255)YES
stripe_customer_idVARCHAR(255)YES
statusENUM('pending','processing','completed','failed','refunded')NO
created_atDATETIMEYES
updated_atDATETIMEYES
completed_atDATETIMEYES

CREATE TABLE Statement

CREATE TABLE wp_clientoctopus_payments ( id INT NOT NULL AUTO_INCREMENT, proposal_id INT NOT NULL, client_id INT DEFAULT NULL, owner_id INT NOT NULL, amount DECIMAL(12,2) NOT NULL, currency VARCHAR(3) NOT NULL DEFAULT 'GBP', deposit_pct TINYINT UNSIGNED NOT NULL DEFAULT 100, stripe_session_id VARCHAR(255) DEFAULT NULL, stripe_payment_intent_id VARCHAR(255) DEFAULT NULL, stripe_customer_id VARCHAR(255) DEFAULT NULL, status ENUM('pending','processing','completed','failed','refunded') NOT NULL DEFAULT 'pending', created_at DATETIME DEFAULT NULL, updated_at DATETIME DEFAULT NULL, completed_at DATETIME DEFAULT NULL, PRIMARY KEY (id), UNIQUE KEY stripe_session_id (stripe_session_id), KEY proposal_id (proposal_id), KEY owner_id (owner_id), KEY status (status), KEY proposal_status (proposal_id, status) ) $charset_collate;" );

Safe to delete?

If you have uninstalled Client Octopus, 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_clientoctopus_payments`;

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

Other tables from Client Octopus