mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-15 05:44:19 -05:00
10 lines
241 B
MySQL
10 lines
241 B
MySQL
|
|
||
|
CREATE TABLE open_id_tokens (
|
||
|
token TEXT NOT NULL PRIMARY KEY,
|
||
|
ts_valid_until_ms bigint NOT NULL,
|
||
|
user_id TEXT NOT NULL,
|
||
|
UNIQUE (token)
|
||
|
);
|
||
|
|
||
|
CREATE index open_id_tokens_ts_valid_until_ms ON open_id_tokens(ts_valid_until_ms);
|