forked from Roflin/gamenight
12 lines
259 B
MySQL
12 lines
259 B
MySQL
|
-- 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;
|