Michael Thomson e55d419d44
All checks were successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
auth services, middleware, and other stuff
2025-05-22 13:55:43 -04:00

13 lines
258 B
SQL

CREATE TABLE todo(
id SERIAL PRIMARY KEY,
name VARCHAR(50),
done BOOLEAN
);
CREATE TABLE users(
id uuid PRIMARY KEY DEFAULT gen_random_uuid(),
email VARCHAR NOT NULL UNIQUE,
hashed_password bytea NOT NULL,
salt bytea NOT NULL
);