forked from Roflin/gamenight
12 lines
259 B
SQL
12 lines
259 B
SQL
-- Your SQL goes here
|
|
|
|
create table registration_tokens (
|
|
id UUID PRIMARY KEY,
|
|
token CHARACTER(32) NOT NULL,
|
|
single_use BOOLEAN NOT NULL,
|
|
expires TIMESTAMPTZ
|
|
);
|
|
|
|
ALTER TABLE gamenight
|
|
ALTER datetime TYPE TIMESTAMPTZ using datetime::timestamp;
|