{"table_name":"erm_transactions","full_table_name":"wp_erm_transactions","description":"Stores erm transactions data created by this plugin.","detection_method":"static","confidence":"medium","create_sql":"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);","columns":[{"name":"id","type":"INT","nullable":true,"primary_key":true},{"name":"order_id","type":"INT","nullable":false,"primary_key":false},{"name":"payment_method","type":"ENUM('cash', 'card', 'online')","nullable":false,"primary_key":false},{"name":"transaction_id","type":"VARCHAR(255)","nullable":true,"primary_key":false},{"name":"amount","type":"DECIMAL(10,2)","nullable":false,"primary_key":false},{"name":"status","type":"ENUM('pending', 'successful', 'failed')","nullable":false,"primary_key":false},{"name":"created_at","type":"DATETIME","nullable":true,"primary_key":false},{"name":"updated_at","type":"TIMESTAMP","nullable":true,"primary_key":false}],"plugin":{"slug":"easy-restaurant-manager","name":"Easy Restaurant Manager","active_installs":0,"version":"1.1.0","wp_org_url":"https://wordpress.org/plugins/easy-restaurant-manager/"}}