wp_erm_menu_items
StaticStores erm menu items data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑id | INT | YES |
| branch_id | INT | YES |
| category_id | INT | NO |
| post_id | INT | YES |
| name | VARCHAR(255) | NO |
| description | TEXT | YES |
| base_price | DECIMAL(10,2) | NO |
| portion_sizes | JSON | YES |
| addons | JSON | YES |
| image | VARCHAR(255) | YES |
| availability | TEXT | YES |
| created_at | DATETIME | YES |
| updated_at | TIMESTAMP | YES |
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