wp_jbusinessdirectory_payments
StaticStores jbusinessdirectory payments data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑payment_id | int | NO |
| order_id | int | NO |
| booking_id | int | YES |
| processor_type | varchar(100) | YES |
| created | timestamp | NO |
| payment_date | date | NO |
| transaction_id | varchar(80) | NO |
| amount | decimal(12,2) | NO |
| currency | char(5) | NO |
| payment_method | varchar(100) | YES |
| response_code | varchar(45) | YES |
| message | blob | YES |
| payment_status | tinyint | NO |
| type | tinyint | NO |
CREATE TABLE Statement
CREATE TABLE `wp_jbusinessdirectory_payments` ( `payment_id` int NOT NULL AUTO_INCREMENT, `order_id` int NOT NULL, `booking_id` int DEFAULT NULL, `processor_type` varchar(100) DEFAULT NULL, `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `payment_date` date NOT NULL, `transaction_id` varchar(80) NOT NULL, `amount` decimal(12,2) NOT NULL DEFAULT '0.00', `currency` char(5) NOT NULL, `payment_method` varchar(100) DEFAULT NULL, `response_code` varchar(45) DEFAULT NULL, `message` blob, `payment_status` tinyint NOT NULL DEFAULT '0', `type` tinyint NOT NULL DEFAULT '1', PRIMARY KEY (`payment_id`), KEY `NewIndex` (`order_id`), KEY `idx_booking_id` (`booking_id`), KEY `idx_processor_type` (`processor_type`), KEY `idx_transaction_id` (`transaction_id`), KEY `idx_payment_status` (`payment_status`) ) ENGINE
Safe to delete?
If you have uninstalled WP-BusinessDirectory – Business directory plugin for WordPress, 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_jbusinessdirectory_payments`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.
Other tables from WP-BusinessDirectory – Business directory plugin for WordPress