-- Create Table Statement for 'Token Transaction'
DROP TABLE IF EXISTS `TOKEN_TRANSACTION`;
CREATE TABLE `TOKEN_TRANSACTION` (
ID bigint(20) NOT NULL,
MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
TRANSACTION_DATE datetime,
TRANSACTION_CODE varchar,
ACCOUNT_CL varchar,
ACCOUNT_NUMBER_LAST4 varchar,
IS_PROXYNIZATION_ENABLED tinyint(1),
TOKEN_CODE varchar,
RESPONSE_CODE varchar,
RESPONSE_MESSAGE varchar,
ACCOUNT_ACCESSORY varchar,
TOKENIZATION_TRANSACTION_CL varchar,
TEMPORARY_TOKEN_CODE varchar,
FIRST_NAME varchar,
LAST_NAME varchar,
IS_ORGANIZATION tinyint(1),
STREET varchar,
CITY varchar,
STATE varchar,
ZIP_CODE varchar,
COUNTRY_CODE varchar,
PHONE varchar,
EMAIL varchar,
CLIENT_HOST varchar,
REQUEST_HOST varchar,
TOKEN varchar,
BILLING_PROFILE_TYPE varchar,
TERMINAL_CODE bigint(20),
PROCESSING_MODE_CL varchar,
BANK_INFO_FK int(11),
PROVIDER_REFERENCE_NUMBER varchar,
PROVIDER_RESPONSE_CODE varchar,
PROVIDER_RESPONSE_MESSAGE varchar,
VERIFICATION_MODE_CL varchar,
ACCOUNT_ACCESSORY varchar,
ACCOUNT_ACCESSORY varchar,
RESPONSE_CODE varchar,
RESPONSE_CODE varchar,
REQUEST_HOST varchar,
REQUEST_HOST varchar,
CUSTOM_FIELD_DATA varchar,
CUSTOM_FIELD_DATA varchar,
CUSTOM_FIELD_DATA varchar,
TRANSACTION_DATE datetime,
TRANSACTION_DATE datetime,
TOKEN varchar,
TOKEN varchar,
TOKEN_CODE varchar,
STREET varchar,
EMAIL varchar,
PRIMARY KEY (ID)
) ENGINE=InnoDB;