-- Create Table Statement for 'Charge Transaction Split'
DROP TABLE IF EXISTS `CHARGE_TRANSACTION_SPLIT`;
CREATE TABLE `CHARGE_TRANSACTION_SPLIT` (
ID bigint(20) NOT NULL,
MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
AMOUNT int(11),
RATE int(11),
CHARGE_TRANSACTION_FK bigint(20),
SPLIT_IN_TRANSACTION_FK bigint(20),
SPLIT_OUT_TRANSACTION_FK bigint(20),
CHARGEBACK_TRANSACTION_FK bigint(20),
SPLIT_SCHEMA_CONTENT varchar,
CHARGE_ITEM_FK bigint(20),
PROVIDER_TRANSACTION_CODE varchar,
PROVIDER_TRANSACTION_CODE varchar,
PROVIDER_TRANSACTION_CODE varchar,
CHARGEBACK_TRANSACTION_FK bigint(20),
CHARGE_ITEM_FK bigint(20),
CHARGEBACK_TRANSACTION_FK bigint(20),
CHARGE_ITEM_FK bigint(20),
MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
AMOUNT int(11),
PRIMARY KEY (ID)
) ENGINE=InnoDB;