ALTER TABLE restaurants RENAME TO venues;
ALTER TABLE venues DROP COLUMN latitude;
ALTER TABLE venues DROP COLUMN longitude;

ALTER TABLE venues 
ADD COLUMN website VARCHAR(255),
ADD COLUMN branch VARCHAR(255),
ADD COLUMN description VARCHAR(255),
ADD COLUMN `language` VARCHAR(255),
ADD COLUMN currency VARCHAR(255),
ADD COLUMN location VARCHAR(255),
ADD COLUMN country_code VARCHAR(255),
ADD COLUMN timezone VARCHAR(255),
ADD COLUMN email VARCHAR(255),
ADD COLUMN table_tier VARCHAR(255),
ADD COLUMN phone VARCHAR(255),
ADD COLUMN subscription_type VARCHAR(255),
ADD COLUMN organization VARCHAR(255),
ADD COLUMN poc_name VARCHAR(255),
ADD COLUMN poc_phone VARCHAR(255),
ADD COLUMN poc_email VARCHAR(255),
ADD COLUMN join_at DATETIME,
ADD COLUMN renewal_at DATETIME,
ADD COLUMN contract_price DECIMAL(10, 2),
ADD COLUMN contract_payment_percentage DECIMAL(5, 2),
ADD COLUMN delivery_enabled TINYINT(1),
ADD COLUMN pos_enabled TINYINT(1),
ADD COLUMN pms_enabled TINYINT(1),
ADD COLUMN payment_enabled TINYINT(1),
ADD COLUMN feedback_enabled TINYINT(1),
ADD COLUMN cart_enabled TINYINT(1),
ADD COLUMN engage_enabled TINYINT(1),
ADD COLUMN multimenus_enabled TINYINT(1),
ADD COLUMN tips_enabled TINYINT(1),
ADD COLUMN reservation_enabled TINYINT(1);
