Very simple dumb login that has no password hashing.
This commit is contained in:
parent
57d892e35c
commit
05788e5fbb
5 changed files with 123 additions and 3 deletions
9
migrations/20250625041155_auth_users.sql
Normal file
9
migrations/20250625041155_auth_users.sql
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue