-- Create Table Statement for 'Key Registry'
DROP TABLE IF EXISTS `KEY_REGISTRY`;
CREATE TABLE `KEY_REGISTRY` (
	ID bigint(20) NOT NULL,
	MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
	NAME varchar,
	DESCRIPTION varchar,
	ALGORITHM_CL varchar,
	TOKEN_CODE varchar,
	CONTENT varchar,
	KEY_STORAGE_CL varchar,
	MERCHANT_ACCOUNT_PROFILE_FK bigint(20),
	EXPIRATION_DATE datetime,
	PRIVATE_KEY_CONTENT varchar,
	PUBLIC_KEY_CONTENT varchar,
	CONTENT varchar,
	CONTENT varchar,
	TOKEN_CODE varchar,
	PRIVATE_KEY_CONTENT varchar,
	PUBLIC_KEY_CONTENT varchar,
	ATTRIBUTE varchar,
	IS_ACTIVE tinyint(1),
	TOKEN_CODE varchar,
	PRIVATE_KEY_CONTENT varchar,
	PUBLIC_KEY_CONTENT varchar,
	ATTRIBUTE varchar,
	IS_ACTIVE tinyint(1),
	TOKEN_CODE varchar,
	PRIVATE_KEY_CONTENT varchar,
	PUBLIC_KEY_CONTENT varchar,
	ATTRIBUTE varchar,
	IS_ACTIVE tinyint(1),
	PRIMARY KEY (ID)
) ENGINE=InnoDB;