From 4c7637812dfa32318536ee38005addeaaaab0708 Mon Sep 17 00:00:00 2001 From: AE86 <836391306@qq.com> Date: Sat, 14 May 2022 23:35:14 +0800 Subject: [PATCH] fixed sql: event length --- dbsyncer-storage/src/main/resources/dbsyncer_data.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbsyncer-storage/src/main/resources/dbsyncer_data.sql b/dbsyncer-storage/src/main/resources/dbsyncer_data.sql index a80bc0d9..0413187f 100644 --- a/dbsyncer-storage/src/main/resources/dbsyncer_data.sql +++ b/dbsyncer-storage/src/main/resources/dbsyncer_data.sql @@ -1,7 +1,7 @@ CREATE TABLE `dbsyncer_data` ( `ID` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '唯一ID', `SUCCESS` int(1) NOT NULL COMMENT '成功1/失败0', - `EVENT` varchar(20) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '事件', + `EVENT` varchar(10) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '事件', `ERROR` mediumtext CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT '异常信息', `CREATE_TIME` bigint(0) NOT NULL COMMENT '创建时间', `JSON` mediumtext CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '同步数据', -- Gitee