mirror of
https://github.com/didi/KnowStreaming.git
synced 2025-12-24 11:52:08 +08:00
修复日志表字段过短问题
This commit is contained in:
@@ -33,13 +33,13 @@ DROP TABLE IF EXISTS `logi_security_oplog`;
|
||||
CREATE TABLE `logi_security_oplog`
|
||||
(
|
||||
id int auto_increment primary key,
|
||||
operator_ip varchar(20) not null comment '操作者ip',
|
||||
operator varchar(20) null comment '操作者账号',
|
||||
operate_page varchar(16) not null default '' comment '操作页面',
|
||||
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 default '' comment '操作方式',
|
||||
operator_ip varchar(64) not null comment '操作者ip',
|
||||
operator varchar(64) null comment '操作者账号',
|
||||
operate_page varchar(64) not null default '' comment '操作页面',
|
||||
operate_type varchar(64) not null comment '操作类型',
|
||||
target_type varchar(64) not null comment '对象分类',
|
||||
target varchar(1024) not null comment '操作对象',
|
||||
operation_methods varchar(64) 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 '更新时间',
|
||||
@@ -47,6 +47,7 @@ CREATE TABLE `logi_security_oplog`
|
||||
app_name varchar(16) null comment '应用名称'
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1592 DEFAULT CHARSET=utf8 comment '操作日志';
|
||||
|
||||
|
||||
DROP TABLE IF EXISTS `logi_security_oplog_extra`;
|
||||
CREATE TABLE `logi_security_oplog_extra`
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user