add root template

This commit is contained in:
sam 2023-10-19 02:54:47 +02:00
parent eb1bb7309a
commit 26de7b3cc4
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
10 changed files with 141 additions and 21 deletions

View file

@ -2,6 +2,7 @@ CREATE TABLE users (
id SERIAL PRIMARY KEY,
username TEXT NOT NULL UNIQUE,
password TEXT NOT NULL,
role INTEGER NOT NULL,
created_at TIMESTAMPTZ NOT NULL DEFAULT now(),
last_active TIMESTAMPTZ NOT NULL DEFAULT now()