wp_classpilot_classes

Static

Stores classpilot classes data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idbigint(20) unsignedNO
titlevarchar(200)NO
descriptionlongtextNO
schedule_typevarchar(20)NO
booking_modevarchar(20)NO
drop_in_price_minorint unsignedNO
drop_in_currencyvarchar(3)NO
duration_minutessmallint unsignedNO
default_capacitysmallint unsignedNO
location_idbigint(20) unsignedNO
instructor_idbigint(20) unsignedNO
policy_idbigint(20) unsignedNO
gallery_image_idstextYES
publishedtinyint(1)NO
archivedtinyint(1)NO
booking_open_hours_beforesmallint unsignedNO
booking_close_hours_beforesmallint unsignedNO
created_atdatetimeNO
updated_atdatetimeNO

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