wp_erm_users
StaticStores erm users data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑id | INT | YES |
| branch_id | INT | YES |
| name | VARCHAR(255) | NO |
| VARCHAR(255) | NO | |
| phone | VARCHAR(20) | NO |
| password | VARCHAR(255) | NO |
| role | ENUM('customer', 'admin', 'manager') | NO |
| loyalty_points | INT | YES |
| created_at | DATETIME | YES |
| updated_at | TIMESTAMP | YES |
CREATE TABLE Statement
CREATE TABLE IF NOT EXISTS `wp_erm_users` ( id INT PRIMARY KEY AUTO_INCREMENT, branch_id INT DEFAULT NULL, name VARCHAR(255) NOT NULL, email VARCHAR(255) UNIQUE NOT NULL, phone VARCHAR(20) NOT NULL, password VARCHAR(255) NOT NULL, role ENUM('customer', 'admin', 'manager') NOT NULL DEFAULT 'customer', loyalty_points INT DEFAULT 0, 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_users`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.
Other tables from Easy Restaurant Manager