-- Create Table Statement for 'Terminal Resource'
DROP TABLE IF EXISTS `TERMINAL_RESOURCE`;
CREATE TABLE `TERMINAL_RESOURCE` (
	ID bigint(20) NOT NULL,
	MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
	CREATE_DATE datetime,
	IS_ACTIVE tinyint(1),
	TERMINAL_CODE bigint(20),
	RESOURCE_CODE varchar,
	VERSION varchar,
	TERMINAL_UPDATE_HISTORY_FK bigint(20),
	PRIMARY KEY (ID)
) ENGINE=InnoDB;