登录日志sys_logininfor去掉自增主键,使用雪花算法
This commit is contained in:
parent
e4366f4d53
commit
6966236b61
@ -562,4 +562,7 @@ ALTER TABLE `sys_user`
|
|||||||
CHANGE COLUMN `user_type` `user_type` VARCHAR(10) NULL DEFAULT 'sys_user' COMMENT '用户类型(sys_user系统用户、app_user App用户)' COLLATE 'utf8mb4_bin' AFTER `nick_name`;
|
CHANGE COLUMN `user_type` `user_type` VARCHAR(10) NULL DEFAULT 'sys_user' COMMENT '用户类型(sys_user系统用户、app_user App用户)' COLLATE 'utf8mb4_bin' AFTER `nick_name`;
|
||||||
UPDATE `sys_user` SET `user_type`="sys_user";
|
UPDATE `sys_user` SET `user_type`="sys_user";
|
||||||
|
|
||||||
|
ALTER TABLE `sys_logininfor`
|
||||||
|
CHANGE COLUMN `info_id` `info_id` BIGINT(19) NOT NULL COMMENT '访问ID' FIRST;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user