-- Create Table Statement for 'Terminal Order History'
DROP TABLE IF EXISTS `TERMINAL_ORDER_HISTORY`;
CREATE TABLE `TERMINAL_ORDER_HISTORY` (
ID bigint(20) NOT NULL,
MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
TERMINAL_CODE bigint(20),
CREATE_DATE datetime,
USER_CODE varchar,
HOST varchar,
ORDER_STATUS_CL varchar,
TERMINAL_ORDER_FK bigint(20),
PRIMARY KEY (ID)
) ENGINE=InnoDB;