Very simple dumb login that has no password hashing.

This commit is contained in:
Zed A. Shaw 2025-06-25 01:25:00 -04:00
parent 57d892e35c
commit 05788e5fbb
5 changed files with 123 additions and 3 deletions

View file

@ -0,0 +1,9 @@
-- +goose Up
-- +goose StatementBegin
CREATE TABLE user (id INTEGER PRIMARY KEY, username TEXT UNIQUE NOT NULL, email TEXT UNIQUE, password TEXT NOT NULL);
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
DROP TABLE user;
-- +goose StatementEnd