Base login setup

This commit is contained in:
LeNei
2025-03-28 15:18:59 +01:00
parent 15e834060d
commit 894d58c6c9
35 changed files with 1405 additions and 23 deletions

View File

@@ -0,0 +1,12 @@
-- Add up migration script here
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
create table users (
id uuid not null primary key default uuid_generate_v4(),
username varchar(255) not null unique,
password varchar(255) not null,
created_at timestamptz not null default now(),
updated_at timestamptz not null default now()
);
select manage_updated_at('users');