-- Create Table Statement for 'Reseller Activity '
DROP TABLE IF EXISTS `IAPP_RESELLER_ACTIVITY`;
CREATE TABLE `IAPP_RESELLER_ACTIVITY` (
	ID bigint(20) NOT NULL,
	VERSION int(11),
	RESELLER_CODE int(11),
	PREV_DISTRIBUTION_STATEMENT_DATE datetime,
	LAST_DISTRIBUTION_STATEMENT_DATE datetime,
	MIN_FEE_ADJUSTMENT_AMOUNT int(11),
	LAST_MASTER_RESELLER_STATEMENT_DATE datetime,
	MIN_FEE_ADJUSTMENT_AMOUNT int(11),
	LAST_MASTER_RESELLER_STATEMENT_DATE datetime,
	MIN_FEE_ADJUSTMENT_AMOUNT int(11),
	LAST_MASTER_RESELLER_STATEMENT_DATE datetime,
	LAST_MERCHANT_CHARGE_PAYMENT_UPDATE_DATE datetime,
	LAST_MERCHANT_CHARGE_PAYMENT_UPDATE_DATE datetime,
	LAST_MERCHANT_CHARGE_PAYMENT_UPDATE_DATE datetime,
	PRIMARY KEY (ID)
) ENGINE=InnoDB;