-- Create Table Statement for 'Trust Commerce Auth Retail Transaction'
DROP TABLE IF EXISTS `TRUST_COMMERCE_AUTH_RETAIL_TRANSACTION`;
CREATE TABLE `TRUST_COMMERCE_AUTH_RETAIL_TRANSACTION` (
	ID bigint(20) NOT NULL,
	MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
	SHIP_TO_CITY varchar,
	PHONE varchar,
	STATE varchar,
	CHECK_CVV varchar,
	RESPONSE_DECLINE_TYPE varchar,
	ACTION varchar,
	SHIP_TO_STATE varchar,
	NAME varchar,
	SHIP_TO_ZIP varchar,
	RESPONSE_AUTH_CODE varchar,
	SHIP_TO_ADDRESS1 varchar,
	PAYMENT_NUMBER varchar,
	SHIP_TO_COUNTRY varchar,
	CVV_STATUS varchar,
	RESPONSE_ERROR_TYPE varchar,
	AMOUNT varchar,
	TOTAL_PAYMENTS varchar,
	ZIP varchar,
	SHIP_TO_SAME varchar,
	CHARGE_TRANSACTION_FK bigint(20),
	AVS varchar,
	TIP varchar,
	CITY varchar,
	RESPONSE_COMMERCIAL_CARD varchar,
	OPERATOR varchar,
	EMAIL varchar,
	TAX_IDENTIFIER varchar,
	RESPONSE_AVS varchar,
	RESPONSE_OFFENDERS varchar,
	ADDRESS1 varchar,
	RETAIL_TRANSACTION_CYCLE_FK bigint(20),
	TICKET varchar,
	RESPONSE_BAD_DATA_TYPE varchar,
	TRANS_ID varchar,
	PURCHASE_ORDER_NUM varchar,
	RESPONSE_STATUS_TYPE varchar,
	PURCHASE_LEVEL varchar,
	SHIP_TO_NAME varchar,
	COUNTRY varchar,
	TAX varchar,
	TYPE varchar,
	RESPONSE_CVV varchar,
	STORE varchar,
	OFFLINE_AUTH_CODE varchar,
	BILLING_ID varchar,
	RESPONSE_CODE varchar,
	VELOCITY_TYPE varchar,
	VELOCITY_VALUE varchar,
	RESPONSE_CODE_DESCRIPTOR varchar,
	BLACKLIST_VALUE varchar,
	FRAUD_SCORE varchar,
	BLACKLIST_FIELD varchar,
	MASTER_CUST_ID varchar,
	SHIP_DATE varchar,
	PINLESS_DEBIT varchar,
	PINLESS_LOOKUP varchar,
	IIAS_TRANSACTION varchar,
	IIAS_LOOKUP varchar,
	PARTIAL_AUTH varchar,
	ADDITIONAL_AMOUNT1 varchar,
	ADDITIONAL_AMOUNT2 varchar,
	RESPONSE_PARTIAL_AMOUNT varchar,
	IIAS_TRANSACTION varchar,
	IIAS_LOOKUP varchar,
	PARTIAL_AUTH varchar,
	ADDITIONAL_AMOUNT1 varchar,
	ADDITIONAL_AMOUNT2 varchar,
	RESPONSE_PARTIAL_AMOUNT varchar,
	IIAS_TRANSACTION varchar,
	IIAS_LOOKUP varchar,
	PARTIAL_AUTH varchar,
	ADDITIONAL_AMOUNT1 varchar,
	ADDITIONAL_AMOUNT2 varchar,
	RESPONSE_PARTIAL_AMOUNT varchar,
	RETAIL_TRANSACTION_CYCLE_FK bigint(20),
	CHARGE_TRANSACTION_FK bigint(20),
	RETAIL_TRANSACTION_CYCLE_FK bigint(20),
	CUSTOMER_ACCOUNT_INTERNAL_CODE varchar,
	CHARGE_TRANSACTION_FK bigint(20),
	CUSTOMER_ACCOUNT_INTERNAL_CODE varchar,
	CUSTOMER_ACCOUNT_INTERNAL_CODE varchar,
	PRIMARY KEY (ID)
) ENGINE=InnoDB;