feat: Added basic user authorization

This commit is contained in:
2025-08-20 01:24:49 +03:00
parent b72066f19e
commit fb4902dea6
15 changed files with 396 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
-- +goose Up
create table if not exists users
(
id serial unique not null primary key,
login varchar(120) unique not null,
password varchar,
created_at timestamptz default now() not null,
updated_at timestamptz default now() not null
);
-- +goose Down
drop table if exists users;