-- Create Table Statement for 'Account Updater History Detail'
DROP TABLE IF EXISTS `ACCOUNT_UPDATER_HISTORY_DETAIL`;
CREATE TABLE `ACCOUNT_UPDATER_HISTORY_DETAIL` (
ID bigint(20) NOT NULL,
MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
ORIGINAL_PAYMENT_OPTION_CL varchar,
ORIGINAL_TOKEN_CODE varchar,
ORIGINAL_CARD_NUMBER varchar,
ORIGINAL_LAST4 varchar,
ORIGINAL_EXPIRATION_DATE varchar,
ORIGINAL_BIN_ENCODED varchar,
ORIGINAL_BANK_INFO_CODE int(11),
UPDATED_PAYMENT_OPTION_CL varchar,
UPDATED_TOKEN_CODE varchar,
UPDATED_CARD_NUMBER varchar,
UPDATED_LAST4 varchar,
UPDATED_EXPIRATION_DATE varchar,
UPDATED_BIN_ENCODED varchar,
UPDATED_BANK_INFO_CODE int(11),
ACCOUNT_UPDATER_HISTORY_FK bigint(20),
CUSTOMER_ACCOUNT_FK bigint(20),
ORIGINAL_PAYMENT_OPTION_FK bigint(20),
RECEIVED_PAYMENT_OPTION_FK bigint(20),
PRIMARY KEY (ID)
) ENGINE=InnoDB;