1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 15:09:14 +00:00

update 13.0 sql (#7633)

This commit is contained in:
欢乐马
2025-03-17 17:57:14 +08:00
committed by GitHub
parent 9263a445c5
commit 20866e43cc

View File

@@ -1,3 +1,4 @@
ALTER TABLE EmailUser ADD COLUMN `is_department_owner` BOOL NOT NULL DEFAULT 0;
CREATE INDEX EmailUser_is_active on EmailUser(is_active);
CREATE INDEX EmailUser_is_department_owenr on EmailUser(is_department_owner);
UPDATE `EmailUser` SET is_department_owner=1 WHERE email LIKE "%@seafile_group";