-- Create Table Statement for 'Eft Anb B2b Retail Transaction'
DROP TABLE IF EXISTS `EFT_ANB_B2B_RETAIL_TRANSACTION`;
CREATE TABLE `EFT_ANB_B2B_RETAIL_TRANSACTION` (
ID bigint(20) NOT NULL,
MERCHANT_ACCOUNT_CODE int(11),
CHARGE_TRANSACTION_FK bigint(20),
SEQUENCE_NUMBER varchar,
VALUE_DATE varchar,
ORDERING_PARTY varchar,
ORDERING_PARTY_ADDRESS1 varchar,
ORDERING_PARTY_ADDRESS2 varchar,
ORDERING_PARTY_ADDRESS3 varchar,
BENEFICIARY_NAME varchar,
BENEFICIARY_ADDRESS1 varchar,
BENEFICIARY_ADDRESS2 varchar,
NARRATIVE varchar,
PURPOSE_OF_TRANSFER varchar,
AMOUNT varchar,
CURRENCY varchar,
PAYMENT_ID varchar,
STATUS varchar,
REASON_OF_FAILURE varchar,
CREATED_AT varchar,
UPDATED_AT varchar,
STATUS_CODE varchar,
ERROR varchar,
MESSAGE varchar,
RETAIL_TRANSACTION_CYCLE_FK bigint(20),
FINAL_STATUS varchar,
FINAL_REASON_OF_FAILURE varchar,
CHANNEL varchar,
PRIMARY KEY (ID)
) ENGINE=InnoDB;