From 977e9a119cc9cfb071b28a781f795c50b37c9bb5 Mon Sep 17 00:00:00 2001
From: bleachtred <bleachtred@163.com>
Date: 星期二, 26 九月 2023 11:10:46 +0800
Subject: [PATCH] update 去除groups

---
 script/sql/update/sqlserver/update_5.0-5.1.sql |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/script/sql/update/sqlserver/update_5.0-5.1.sql b/script/sql/update/sqlserver/update_5.0-5.1.sql
index 63fa937..605f02f 100644
--- a/script/sql/update/sqlserver/update_5.0-5.1.sql
+++ b/script/sql/update/sqlserver/update_5.0-5.1.sql
@@ -401,3 +401,9 @@
 GO
 INSERT sys_role_menu VALUES (2, 1065)
 GO
+
+
+UPDATE sys_dept SET leader = null
+GO
+ALTER TABLE sys_dept ALTER COLUMN leader bigint NULL
+GO

--
Gitblit v1.9.3