-- Create Table Statement for 'CC MWE Batch Transaction'
DROP TABLE IF EXISTS `CC_MWE_BATCH_TRANSACTION`;
CREATE TABLE `CC_MWE_BATCH_TRANSACTION` (
	ID bigint(20) NOT NULL,
	MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
	TRANSACTION_PRODUCT varchar,
	CUSTOMER_PHONE varchar,
	CUSTOMER_EMAIL varchar,
	CUSTOMER_COUNTRY varchar,
	CUSTOMER_STATE varchar,
	CUSTOMER_CITY varchar,
	CUSTOMER_ADDRESS varchar,
	CUSTOMER_POST_CODE varchar,
	PAYMENT_CARD_NAME varchar,
	TRANSACTION_AMOUNT varchar,
	TRANSACTION_REFERENCE_ID varchar,
	CUSTOM1 varchar,
	CUSTOM2 varchar,
	CUSTOM3 varchar,
	TRANSACTION_ID varchar,
	RESULT_MESSAGE varchar,
	CREATED_DATE varchar,
	CREATED_TIME varchar,
	PROCESSED_DATE varchar,
	PROCESSED_TIME varchar,
	PROVIDER_RESPONSE varchar,
	CC_MWE_BATCH_FK bigint(20),
	MW_RESPONSE varchar,
	CARD_ID varchar,
	CHARGE_TRANSACTION_FK bigint(20),
	CC_MWE_BATCH_FK bigint(20),
	CHARGE_TRANSACTION_FK bigint(20),
	CC_MWE_BATCH_FK bigint(20),
	CHARGE_TRANSACTION_FK bigint(20),
	PRIMARY KEY (ID)
) ENGINE=InnoDB;