mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-23 04:34:34 -04:00
Be more postgressive
This commit is contained in:
parent
fb95035a65
commit
61cd5d9045
2 changed files with 4 additions and 4 deletions
|
@ -1,9 +1,9 @@
|
|||
CREATE TABLE user_threepids (
|
||||
user TEXT NOT NULL,
|
||||
user_id TEXT NOT NULL,
|
||||
medium TEXT NOT NULL,
|
||||
address TEXT NOT NULL,
|
||||
validated_at BIGINT NOT NULL,
|
||||
added_at BIGINT NOT NULL,
|
||||
CONSTRAINT user_medium_address UNIQUE (user, medium, address)
|
||||
);
|
||||
CREATE INDEX user_threepids_user ON user_threepids(user);
|
||||
CREATE INDEX user_threepids_user_id ON user_threepids(user_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue