CREATE TABLE `contract_plus`.`tblfailed_events` ( `unique_code` VARCHAR(255) NOT NULL ,  `tenant_id` BIGINT NULL ,  `operation` VARCHAR(255) NOT NULL ,  `failure_reason` TEXT NOT NULL ,  `request_data` TEXT NOT NULL ,  `addedon` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP );
