wp_erm_menu_items

Static

Stores erm menu items data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idINTYES
branch_idINTYES
category_idINTNO
post_idINTYES
nameVARCHAR(255)NO
descriptionTEXTYES
base_priceDECIMAL(10,2)NO
portion_sizesJSONYES
addonsJSONYES
imageVARCHAR(255)YES
availabilityTEXTYES
created_atDATETIMEYES
updated_atTIMESTAMPYES

CREATE TABLE Statement

CREATE TABLE IF NOT EXISTS `wp_erm_menu_items` ( id INT PRIMARY KEY AUTO_INCREMENT, branch_id INT DEFAULT NULL, category_id INT NOT NULL, post_id INT DEFAULT NULL, name VARCHAR(255) NOT NULL, description TEXT, base_price DECIMAL(10,2) NOT NULL, portion_sizes JSON DEFAULT NULL, addons JSON DEFAULT NULL, image VARCHAR(255) DEFAULT NULL, availability TEXT DEFAULT NULL, 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_menu_items`;

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

Other tables from Easy Restaurant Manager