数据库角色表取消自增主键,使用雪花算法
This commit is contained in:
parent
37183ce262
commit
39215aaded
@ -536,3 +536,6 @@ ALTER TABLE `sys_user` CHANGE COLUMN `sex` `gender` CHAR(1) NULL DEFAULT '0' COM
|
|||||||
|
|
||||||
ALTER TABLE `sys_dept`
|
ALTER TABLE `sys_dept`
|
||||||
CHANGE COLUMN `del_flag` `del_flag` CHAR(1) NULL DEFAULT '0' COMMENT '删除标志(0代表存在 1代表删除)' COLLATE 'utf8mb4_bin' AFTER `status`;
|
CHANGE COLUMN `del_flag` `del_flag` CHAR(1) NULL DEFAULT '0' COMMENT '删除标志(0代表存在 1代表删除)' COLLATE 'utf8mb4_bin' AFTER `status`;
|
||||||
|
|
||||||
|
ALTER TABLE `sys_role`
|
||||||
|
CHANGE COLUMN `role_id` `role_id` BIGINT(19) NOT NULL COMMENT '角色ID' FIRST;
|
||||||
|
Loading…
Reference in New Issue
Block a user