wp_eerb_booking_history

Static

Stores eerb booking history data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idINT UNSIGNEDNO
booking_idINT UNSIGNEDNO
actionENUM('created','changed','cancelled','refunded')NO
changed_byENUM('customer','admin')NO
old_slot_startDATETIMEYES
new_slot_startDATETIMEYES
old_playersTINYINT UNSIGNEDYES
new_playersTINYINT UNSIGNEDYES
noteTEXTYES
created_atDATETIMENO

CREATE TABLE Statement

CREATE TABLE IF NOT EXISTS wp_eerb_booking_history ( id INT UNSIGNED NOT NULL AUTO_INCREMENT, booking_id INT UNSIGNED NOT NULL, action ENUM('created','changed','cancelled','refunded') NOT NULL, changed_by ENUM('customer','admin') NOT NULL DEFAULT 'customer', old_slot_start DATETIME, new_slot_start DATETIME, old_players TINYINT UNSIGNED, new_players TINYINT UNSIGNED, note TEXT, created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (id), KEY booking_id (booking_id) ) $charset;" );

Safe to delete?

If you have uninstalled Ettrick Escape Room 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_eerb_booking_history`;

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

Other tables from Ettrick Escape Room Booking