From effe17ac8554c2b150378131520195546aae5ebb Mon Sep 17 00:00:00 2001 From: Strangevy Date: Thu, 1 Sep 2022 10:28:00 +0800 Subject: [PATCH] logi_security_oplog.operation_methods default '' --- km-dist/init/sql/ddl-logi-security.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/km-dist/init/sql/ddl-logi-security.sql b/km-dist/init/sql/ddl-logi-security.sql index 3ac20657..69fcdc66 100644 --- a/km-dist/init/sql/ddl-logi-security.sql +++ b/km-dist/init/sql/ddl-logi-security.sql @@ -39,7 +39,7 @@ CREATE TABLE `logi_security_oplog` operate_type varchar(16) not null comment '操作类型', target_type varchar(16) not null comment '对象分类', target varchar(20) not null comment '操作对象', - operation_methods varchar(20) not null comment '操作方式', + operation_methods varchar(20) not null default '' comment '操作方式', detail text null comment '日志详情', create_time timestamp default CURRENT_TIMESTAMP null, update_time timestamp default CURRENT_TIMESTAMP null on update CURRENT_TIMESTAMP comment '更新时间',