mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 00:21:55 +00:00
8 lines
194 B
SQL
8 lines
194 B
SQL
CREATE TABLE IF NOT EXISTS resettoken (
|
|
"user" uuid PRIMARY KEY,
|
|
token VARCHAR(64) NOT NULL,
|
|
expiry timestamptz NOT NULL
|
|
);
|
|
|
|
CREATE INDEX resettokenTokenLookup ON resettoken (token)
|