mirror of
https://mau.dev/maunium/synapse.git
synced 2024-09-06 01:22:16 +00:00
![Richard van der Hoff](/assets/img/avatar_default.png)
The hope here is that by moving all the schema files into synapse/storage/schema, it gets a bit easier for newcomers to navigate. It certainly got easier for me to write a helpful README. There's more to do on that front, but I'll follow up with other PRs for that.
10 lines
241 B
SQL
10 lines
241 B
SQL
|
|
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);
|