wp_erm_transactions

Static

Stores erm transactions data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idINTYES
order_idINTNO
payment_methodENUM('cash', 'card', 'online')NO
transaction_idVARCHAR(255)YES
amountDECIMAL(10,2)NO
statusENUM('pending', 'successful', 'failed')NO
created_atDATETIMEYES
updated_atTIMESTAMPYES

CREATE TABLE Statement

CREATE TABLE IF NOT EXISTS `wp_erm_transactions` ( id INT PRIMARY KEY AUTO_INCREMENT, order_id INT NOT NULL, payment_method ENUM('cash', 'card', 'online') NOT NULL, transaction_id VARCHAR(255) DEFAULT NULL, amount DECIMAL(10,2) NOT NULL, status ENUM('pending', 'successful', 'failed') NOT NULL DEFAULT 'pending', 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_transactions`;

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

Other tables from Easy Restaurant Manager