wp_classpilot_classes
StaticStores classpilot classes data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑id | bigint(20) unsigned | NO |
| title | varchar(200) | NO |
| description | longtext | NO |
| schedule_type | varchar(20) | NO |
| booking_mode | varchar(20) | NO |
| drop_in_price_minor | int unsigned | NO |
| drop_in_currency | varchar(3) | NO |
| duration_minutes | smallint unsigned | NO |
| default_capacity | smallint unsigned | NO |
| location_id | bigint(20) unsigned | NO |
| instructor_id | bigint(20) unsigned | NO |
| policy_id | bigint(20) unsigned | NO |
| gallery_image_ids | text | YES |
| published | tinyint(1) | NO |
| archived | tinyint(1) | NO |
| booking_open_hours_before | smallint unsigned | NO |
| booking_close_hours_before | smallint unsigned | NO |
| created_at | datetime | NO |
| updated_at | datetime | NO |
CREATE TABLE Statement
CREATE TABLE wp_classpilot_classes ( id bigint(20) unsigned NOT NULL AUTO_INCREMENT, title varchar(200) NOT NULL DEFAULT '', description longtext NOT NULL, schedule_type varchar(20) NOT NULL DEFAULT 'recurring', booking_mode varchar(20) NOT NULL DEFAULT 'drop-in', drop_in_price_minor int unsigned NOT NULL DEFAULT 0, drop_in_currency varchar(3) NOT NULL DEFAULT 'USD', duration_minutes smallint unsigned NOT NULL DEFAULT 60, default_capacity smallint unsigned NOT NULL DEFAULT 10, location_id bigint(20) unsigned NOT NULL DEFAULT 0, instructor_id bigint(20) unsigned NOT NULL DEFAULT 0, policy_id bigint(20) unsigned NOT NULL DEFAULT 0, gallery_image_ids text, published tinyint(1) NOT NULL DEFAULT 0, archived tinyint(1) NOT NULL DEFAULT 0, booking_open_hours_before smallint unsigned NOT NULL DEFAULT 0, booking_close_hours_before smallint unsigned NOT NULL DEFAULT 1, created_at datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, updated_at datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (id), KEY published_archived (published, archived) ) {$charset};" );Safe to delete?
If you have uninstalled ClassPilot Booking, 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_classpilot_classes`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.
Other tables from ClassPilot Booking