diff --git a/database/bcevent.sql b/database/bcevent.sql index a822a00..f1157d5 100644 --- a/database/bcevent.sql +++ b/database/bcevent.sql @@ -420,3 +420,21 @@ CREATE TABLE `t_webhook_event` ( KEY `idx_event_name_chain` (`event_name`, `chain`) ) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; /*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `t_webhook_process_last_idx` +-- + +DROP TABLE IF EXISTS `t_webhook_process_last_idx`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `t_webhook_process_last_idx` ( + `idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id', + `event_name` varchar(255) NOT NULL DEFAULT '' COMMENT 'event_name', + `last_idx` bigint NOT NULL DEFAULT '0' COMMENT 'last_idx', + `createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', + `modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间', + PRIMARY KEY (`idx`), + UNIQUE KEY `unikey` (`event_name`) +) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; +/*!40101 SET character_set_client = @saved_cs_client */;