mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-23 21:09:26 -05:00
Oops, forgot the schema delta file
This commit is contained in:
parent
0337eaf321
commit
4669def000
10
synapse/storage/schema/delta/17/user_threepids.sql
Normal file
10
synapse/storage/schema/delta/17/user_threepids.sql
Normal file
@ -0,0 +1,10 @@
|
||||
CREATE TABLE user_threepids (
|
||||
id INTEGER PRIMARY KEY NOT NULL,
|
||||
user TEXT NOT NULL,
|
||||
medium TEXT NOT NULL,
|
||||
address TEXT NOT NULL,
|
||||
validated_at INTEGER NOT NULL,
|
||||
added_at INTEGER NOT NULL,
|
||||
CONSTRAINT user_medium_address UNIQUE (user, medium, address) ON CONFLICT REPLACE
|
||||
);
|
||||
CREATE INDEX user_threepids_user ON user_threepids(user);
|
Loading…
Reference in New Issue
Block a user