Files
confetti/migrations/2026-05-31-000742-0000_tokens/up.sql
T
uelen 8ba58234e0 Added lots of debugging + token auth
Now you dont have to send your password over the wire every time and can
make do with a token instead. There's lots of debugging info now to make
it easier for me to fix bugs with the server
2026-05-30 18:22:54 -07:00

8 lines
153 B
SQL

-- Your SQL goes here
CREATE TABLE tokens (
id SERIAL PRIMARY KEY,
username TEXT NOT NULL,
token TEXT NOT NULL,
expiry BIGINT NOT NULL
)