Skip to content
Snippets Groups Projects
Commit f8c30faf authored by David Baker's avatar David Baker
Browse files

Oops, update the contraint too

parent 61cd5d90
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,6 @@ CREATE TABLE user_threepids (
address TEXT NOT NULL,
validated_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);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment