5 lines
No EOL
159 B
SQL
5 lines
No EOL
159 B
SQL
CREATE TABLE magic_links (
|
|
id VARCHAR(39) NOT NULL PRIMARY KEY UNIQUE,
|
|
user_id SERIAL NOT NULL REFERENCES users(id),
|
|
expires_on INTEGER NOT NULL
|
|
); |