-- Create Table Statement for 'Merchant Balance History'
DROP TABLE IF EXISTS `IAPP_MERCHANT_BALANCE_HISTORY`;
CREATE TABLE `IAPP_MERCHANT_BALANCE_HISTORY` (
	ID bigint(20) NOT NULL,
	MERCHANT_ACCOUNT_CODE int(11),
	CREATE_DATE datetime,
	AMOUNT int(11),
	FUNDS_SOURCE_CL varchar,
	MERCHANT_ACCOUNT_GROUP_FK bigint(20),
	MERCHANT_STATEMENT_FK bigint(20),
	SOURCE_BALANCE int(11),
	TOTAL_BALANCE int(11),
	SUBMISSION_CL varchar,
	TRANSACTION_CL varchar,
	POSITION int(11),
	PRIMARY KEY (ID)
) ENGINE=InnoDB;