-- Create Table Statement for 'UniPay Batch Transaction'
DROP TABLE IF EXISTS `UNI_PAY_BATCH_TRANSACTION`;
CREATE TABLE `UNI_PAY_BATCH_TRANSACTION` (
	ID bigint(20) NOT NULL,
	ACCOUNT_TYPE varchar,
	TRANSACTION_DATE varchar,
	TRANSACTION_TYPE varchar,
	TRANSACTION_CODE varchar,
	SHIPPING_NAME varchar,
	HOLDER_TYPE varchar,
	HOLDER_NAME varchar,
	HOLDER_BIRTHDATE varchar,
	DESCRIPTOR varchar,
	WARNING_CODE varchar,
	ERROR_CODE varchar,
	ERROR_MESSAGE varchar,
	CHARGE_TRANSACTION_FK bigint(20),
	UNI_PAY_BATCH_FK bigint(20),
	MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
	RESPONSE_CODE varchar,
	RESPONSE_MESSAGE varchar,
	REBILL_ATTEMPT_COUNT int(11),
	ACCOUNT_TYPE_UPDATED varchar,
	HOLDER_NAME_UPDATED varchar,
	TOKEN_UPDATED varchar,
	RESPONSE_CODE varchar,
	RESPONSE_CODE varchar,
	NETWORK_TRANSACTION_ID varchar,
	NETWORK_TRANSACTION_ID varchar,
	SUBMISSION_ID varchar,
	PROVIDER_TRANSACTION_CODE varchar,
	NETWORK_TRANSACTION_ID varchar,
	SUBMISSION_ID varchar,
	PROVIDER_TRANSACTION_CODE varchar,
	UNI_PAY_BATCH_FK bigint(20),
	CHARGE_TRANSACTION_FK bigint(20),
	UNI_PAY_BATCH_FK bigint(20),
	CHARGE_TRANSACTION_FK bigint(20),
	SUBMISSION_ID varchar,
	PROVIDER_TRANSACTION_CODE varchar,
	PRIMARY KEY (ID)
) ENGINE=InnoDB;