Files
supervision-test-repo/sql-changelog/ddl/20260805_系统日志表新增操作人密级字段.sql
T
wsm 20b76afa02 feat(syslog): 操作日志和登录日志记录操作人密级
sys_log 新增 user_security_level 列,取值与 sys_user.user_security_level 一致
(字典:3非密/4一般/5重要),LogDTO/SysLog 实体同步补充字段。
2026-08-05 09:59:38 +08:00

7 lines
406 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- 系统日志表新增操作人密级字段
-- 记录操作日志/登录日志时,带上操作人密级,取值与 sys_user.user_security_level 一致
-- 字典:user_security_level3非密,4一般,5重要)
-- 变更日期:2026-08-05
ALTER TABLE `sys_log`
ADD COLUMN `user_security_level` tinyint(1) NULL DEFAULT NULL COMMENT '操作人密级(3非密,4一般,5重要)' AFTER `client_type`;