wp_erm_tables

Static

Stores erm tables data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idINTYES
branch_idINTYES
table_numberVARCHAR(20)NO
capacityINTNO
statusENUM('available', 'reserved', 'occupied')NO
created_atDATETIMEYES
updated_atTIMESTAMPYES

CREATE TABLE Statement

CREATE TABLE IF NOT EXISTS `wp_erm_tables` ( id INT PRIMARY KEY AUTO_INCREMENT, branch_id INT DEFAULT NULL, table_number VARCHAR(20) UNIQUE NOT NULL, capacity INT NOT NULL, status ENUM('available', 'reserved', 'occupied') NOT NULL DEFAULT 'available', created_at DATETIME DEFAULT CURRENT_TIMESTAMP, updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) $charset_collate;"; dbDelta($sql);

Safe to delete?

If you have uninstalled Easy Restaurant Manager, 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_erm_tables`;

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

Other tables from Easy Restaurant Manager