数据库用户表结构去掉自增主键:sys_user

This commit is contained in:
dataprince 2023-10-16 19:20:50 +08:00
parent a17df59f45
commit 5e147e2f88

View File

@ -555,3 +555,7 @@ ALTER TABLE `sys_dept`
ALTER TABLE `sys_dept`
CHANGE COLUMN `ancestors` `ancestors` VARCHAR(760) NULL DEFAULT '' COMMENT '祖级列表' COLLATE 'utf8mb4_bin' AFTER `parent_id`;
ALTER TABLE `sys_user`
CHANGE COLUMN `user_id` `user_id` BIGINT(19) NOT NULL COMMENT '用户ID' FIRST;