Fix a long standing bug in new schema migration

... and make the test that uncovered it explicitly fail (there was already a
TODO) instead of passing but with errors logged
This commit is contained in:
Stu Tomlinson
2023-01-21 14:22:52 +00:00
parent cbbf85c555
commit 0c1cf43519
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -92,7 +92,7 @@
-- DROP INDEX i_vcard_search_lemail;
-- DROP INDEX i_vcard_search_lorgname;
-- DROP INDEX i_vcard_search_lorgunit;
-- ALTER TABLE vcard_search ADD PRIMARY KEY (server_host, username);
-- ALTER TABLE vcard_search ADD PRIMARY KEY (server_host, lusername);
-- CREATE INDEX i_vcard_search_sh_lfn ON vcard_search(server_host, lfn);
-- CREATE INDEX i_vcard_search_sh_lfamily ON vcard_search(server_host, lfamily);
-- CREATE INDEX i_vcard_search_sh_lgiven ON vcard_search(server_host, lgiven);