anonymousland-synapse/synapse/storage/schema/delta/17/user_threepids.sql

10 lines
298 B
MySQL
Raw Normal View History

2015-04-29 11:49:44 -04:00
CREATE TABLE user_threepids (
user TEXT NOT NULL,
medium TEXT NOT NULL,
address TEXT NOT NULL,
2015-04-29 11:53:41 -04:00
validated_at BIGINT NOT NULL,
added_at BIGINT NOT NULL,
CONSTRAINT user_medium_address UNIQUE (user, medium, address)
2015-04-29 11:49:44 -04:00
);
CREATE INDEX user_threepids_user ON user_threepids(user);