-- Create Table Statement for 'Terminal Update'
DROP TABLE IF EXISTS `TERMINAL_UPDATE`;
CREATE TABLE `TERMINAL_UPDATE` (
	ID bigint(20) NOT NULL,
	CREATE_DATE datetime,
	IS_ACTIVE tinyint(1),
	PORTFOLIO_CODE int(11),
	MODEL_COMPATIBILITY_MASK bigint(20),
	NOTES varchar,
	VERSION int(11),
	UPDATE_PROFILE_FK ,
	PROFILE_SEGMENT varchar,
	TERMINAL_LEVEL_CL varchar,
	TERMINAL_UPDATE_TASKS bigint(20),
	UPDATE_PROFILE_FK bigint(20),
	PRIMARY KEY (ID)
) ENGINE=InnoDB;