-- Create Table Statement for 'Processing Log'
DROP TABLE IF EXISTS `PROCESSING_LOG`;
CREATE TABLE `PROCESSING_LOG` (
	ID bigint(20) NOT NULL,
	REQUEST_DATE datetime,
	RESPONSE_DATE datetime,
	ATTEMPT_COUNT int(11),
	RESPONSE_CODE varchar,
	PROVIDER_RESPONSE_CODE varchar,
	RESPONSE_MESSAGE varchar,
	MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
	RESPONSE_TYPE_CL varchar,
	IS_FINAL_ATTEMPT tinyint(1),
	PROCESSING_PROFILE_FK bigint(20),
	SUB_BATCH_FK bigint(20),
	CHARGE_TRANSACTION_FK bigint(20),
	CHARGE_TRANSACTION_FK bigint(20),
	CHARGE_TRANSACTION_FK bigint(20),
	PRIMARY KEY (ID)
) ENGINE=InnoDB;