🔥 删除user 不关联租户ID

This commit is contained in:
lbw 2023-08-28 21:27:56 +08:00
parent 19be64fdf1
commit 084619355f
2 changed files with 1 additions and 6 deletions

View File

@ -623,8 +623,7 @@ CREATE TABLE `sys_user` (
`mini_openid` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '小程序openId', `mini_openid` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '小程序openId',
`qq_openid` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'QQ openId', `qq_openid` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'QQ openId',
`gitee_login` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '码云标识', `gitee_login` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '码云标识',
`osc_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '开源中国标识', `osc_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '开源中国标识'
`tenant_id` bigint NOT NULL DEFAULT '0' COMMENT '所属租户ID',
PRIMARY KEY (`user_id`) USING BTREE, PRIMARY KEY (`user_id`) USING BTREE,
KEY `user_wx_openid` (`wx_openid`) USING BTREE, KEY `user_wx_openid` (`wx_openid`) USING BTREE,
KEY `user_qq_openid` (`qq_openid`) USING BTREE, KEY `user_qq_openid` (`qq_openid`) USING BTREE,

View File

@ -61,7 +61,6 @@
u.dept_id, u.dept_id,
u.del_flag, u.del_flag,
u.lock_flag, u.lock_flag,
u.tenant_id,
u.create_by, u.create_by,
u.create_time ucreate_time, u.create_time ucreate_time,
u.update_time uupdate_time, u.update_time uupdate_time,
@ -86,7 +85,6 @@
u.osc_id, u.osc_id,
u.del_flag, u.del_flag,
u.lock_flag, u.lock_flag,
u.tenant_id,
u.nickname, u.nickname,
u.name, u.name,
u.email, u.email,
@ -133,7 +131,6 @@
u.update_time uupdate_time, u.update_time uupdate_time,
u.del_flag, u.del_flag,
u.lock_flag, u.lock_flag,
u.tenant_id,
u.nickname, u.nickname,
u.name, u.name,
u.email, u.email,
@ -177,7 +174,6 @@
u.update_time uupdate_time, u.update_time uupdate_time,
u.del_flag, u.del_flag,
u.lock_flag, u.lock_flag,
u.tenant_id,
u.nickname, u.nickname,
u.name, u.name,
u.email, u.email,