1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-08 02:38:54 +00:00

Fix problems in sqlite upgrade.

This commit is contained in:
cuihaikuo
2017-09-18 16:00:33 +08:00
parent c130c9fceb
commit 6978d2cb2e
3 changed files with 1 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
alter table LDAPUsers add column reference_id VARCHAR(255);
alter table EmailUser add column reference_id VARCHAR(255);
CREATE UNIQUE INDEX IF NOT EXISTS reference_id_index on EmailUser (reference_id);
CREATE UNIQUE INDEX IF NOT EXISTS ldapusers_reference_id_index on LDAPUsers(reference_id);