-- Create Table Statement for 'First Data Account Update Transaction'
DROP TABLE IF EXISTS `FIRST_DATA_ACCOUNT_UPDATE_TRANSACTION`;
CREATE TABLE `FIRST_DATA_ACCOUNT_UPDATE_TRANSACTION` (
	ID bigint(20) NOT NULL,
	MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
	CARD_TYPE_CODE varchar,
	CURRENT_TOKEN varchar,
	CURRENT_CARDHOLDER_EXP_DATE varchar,
	REPLACEMENT_TOKEN varchar,
	REPLACEMENT_CARD_TYPE varchar,
	REPLACEMENT_CARDHOLDER_EXP_DATE varchar,
	MERCHANT_REFERENCE_NUMBER varchar,
	RESPONSE_CODE varchar,
	CLOSED_INDICATOR varchar,
	FIRST_DATA_ACCOUNT_UPDATE_BATCH_FK bigint(20),
	ACCOUNT_UPDATE_TRANSACTION_FK bigint(20),
	FIRST_DATA_ACCOUNT_UPDATE_BATCH_FK bigint(20),
	ACCOUNT_UPDATE_TRANSACTION_FK bigint(20),
	FIRST_DATA_ACCOUNT_UPDATE_BATCH_FK bigint(20),
	ACCOUNT_UPDATE_TRANSACTION_FK bigint(20),
	PRIMARY KEY (ID)
) ENGINE=InnoDB;