Fix vcard_search definition in pgsql new schema (thanks to Stu Tomlinson)(#3695)

How to update an existing database:
ALTER TABLE vcard_search DROP CONSTRAINT vcard_search_pkey;
ALTER TABLE vcard_search ADD PRIMARY KEY (server_host, lusername);
pull/3724/head
Badlop 1 year ago
parent db920b7d7b
commit d3aa329769

@ -311,7 +311,7 @@ CREATE TABLE vcard_search (
lorgname text NOT NULL,
orgunit text NOT NULL,
lorgunit text NOT NULL,
PRIMARY KEY (server_host, username)
PRIMARY KEY (server_host, lusername)
);
CREATE INDEX i_vcard_search_sh_lfn ON vcard_search(server_host, lfn);

Loading…
Cancel
Save