-- Create Table Statement for 'Terminal Update History'
DROP TABLE IF EXISTS `TERMINAL_UPDATE_HISTORY`;
CREATE TABLE `TERMINAL_UPDATE_HISTORY` (
	ID bigint(20) NOT NULL,
	MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
	CREATE_DATE datetime,
	TERMINAL_CODE bigint(20),
	REQUEST_HOST varchar,
	TERMINAL_UPDATE_CODE bigint(20),
	TERMINAL_UPDATE_TASK_CODE bigint(20),
	TASK_CL varchar,
	RESOURCE_REPOSITORY_CODE bigint(20),
	RESOURCE_CODE varchar,
	RESOURCE_VERSION varchar,
	STATUS_CODE varchar,
	STATUS_MESSAGE varchar,
	RESOURCE_CL varchar,
	UPDATE_VERSION varchar,
	UPDATE_CODE varchar,
	UPDATE_PROFILE varchar,
	PRIMARY KEY (ID)
) ENGINE=InnoDB;