start implementing auth

This commit is contained in:
2026-02-23 14:34:19 -05:00
parent 715c122eb7
commit af9c23c521
14 changed files with 341 additions and 24 deletions
+9 -1
View File
@@ -6,4 +6,12 @@ CREATE TABLE IF NOT EXISTS weather_readings (
humidity INTEGER NOT NULL,
conditions TEXT NOT NULL,
fetched_at TIMESTAMP WITH TIME ZONE NOT NULL
)
);
CREATE TABLE users (
id SERIAL PRIMARY KEY,
email TEXT UNIQUE NOT NULL,
password_hash TEXT NOT NULL,
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);