mirror of
https://mau.dev/maunium/synapse.git
synced 2024-09-11 04:09:34 +02:00
Oops, update the contraint too
This commit is contained in:
parent
61cd5d9045
commit
f8c30faf25
1 changed files with 1 additions and 1 deletions
|
@ -4,6 +4,6 @@ CREATE TABLE user_threepids (
|
||||||
address TEXT NOT NULL,
|
address TEXT NOT NULL,
|
||||||
validated_at BIGINT NOT NULL,
|
validated_at BIGINT NOT NULL,
|
||||||
added_at BIGINT NOT NULL,
|
added_at BIGINT NOT NULL,
|
||||||
CONSTRAINT user_medium_address UNIQUE (user, medium, address)
|
CONSTRAINT user_medium_address UNIQUE (user_id, medium, address)
|
||||||
);
|
);
|
||||||
CREATE INDEX user_threepids_user_id ON user_threepids(user_id);
|
CREATE INDEX user_threepids_user_id ON user_threepids(user_id);
|
||||||
|
|
Loading…
Reference in a new issue