@@ -33,20 +33,21 @@ DROP TABLE IF EXISTS `logi_security_oplog`;
3333CREATE TABLE `logi_security_oplog `
3434(
3535 id int auto_increment primary key ,
36- operator_ip varchar (20 ) not null comment ' 操作者ip' ,
37- operator varchar (20 ) null comment ' 操作者账号' ,
38- operate_page varchar (16 ) not null default ' ' comment ' 操作页面' ,
39- operate_type varchar (16 ) not null comment ' 操作类型' ,
40- target_type varchar (16 ) not null comment ' 对象分类' ,
41- target varchar (20 ) not null comment ' 操作对象' ,
42- operation_methods varchar (20 ) not null default ' ' comment ' 操作方式' ,
36+ operator_ip varchar (64 ) not null comment ' 操作者ip' ,
37+ operator varchar (64 ) null comment ' 操作者账号' ,
38+ operate_page varchar (64 ) not null default ' ' comment ' 操作页面' ,
39+ operate_type varchar (64 ) not null comment ' 操作类型' ,
40+ target_type varchar (64 ) not null comment ' 对象分类' ,
41+ target varchar (1024 ) not null comment ' 操作对象' ,
42+ operation_methods varchar (64 ) not null default ' ' comment ' 操作方式' ,
4343 detail text null comment ' 日志详情' ,
4444 create_time timestamp default CURRENT_TIMESTAMP null ,
4545 update_time timestamp default CURRENT_TIMESTAMP null on update CURRENT_TIMESTAMP comment ' 更新时间' ,
4646 is_delete tinyint (1 ) default 0 not null comment ' 逻辑删除' ,
4747 app_name varchar (16 ) null comment ' 应用名称'
4848) ENGINE= InnoDB AUTO_INCREMENT= 1592 DEFAULT CHARSET= utf8 comment ' 操作日志' ;
4949
50+
5051DROP TABLE IF EXISTS ` logi_security_oplog_extra` ;
5152CREATE TABLE `logi_security_oplog_extra `
5253(
0 commit comments