RuoYi-Vue-Plus/script/sql/update/update_5.1.0-5.1.1.sql
Michelle.Chung 849803e888 add update_5.1.0-5.1.1.sql ;
update 更新 SysLoginService#buildLoginUser 不作 client 传参(后续优化) ;
update 更新字段名称 client -> clientKey ;
update 优化 SysLogininforServiceImpl 名称以及魔法值 ;
2023-10-21 19:21:58 +08:00

5 lines
352 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.

ALTER TABLE sys_logininfor
ADD COLUMN user_type VARCHAR(10) NULL DEFAULT 'sys_user' COMMENT '用户类型sys_user系统用户' AFTER `user_name`,
ADD COLUMN client_key VARCHAR(32) NULL DEFAULT NULL COMMENT '客户端' AFTER `user_type`,
ADD COLUMN device_type VARCHAR(32) NULL DEFAULT NULL COMMENT '设备类型' AFTER `client_key`;