wp_clientoctopus_payments
StaticStores clientoctopus payments data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑id | INT | NO |
| proposal_id | INT | NO |
| client_id | INT | YES |
| owner_id | INT | NO |
| amount | DECIMAL(12,2) | NO |
| currency | VARCHAR(3) | NO |
| deposit_pct | TINYINT UNSIGNED | NO |
| stripe_session_id | VARCHAR(255) | YES |
| stripe_payment_intent_id | VARCHAR(255) | YES |
| stripe_customer_id | VARCHAR(255) | YES |
| status | ENUM('pending','processing','completed','failed','refunded') | NO |
| created_at | DATETIME | YES |
| updated_at | DATETIME | YES |
| completed_at | DATETIME | YES |
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