feat: user CRUD

This commit is contained in:
2025-11-09 21:20:36 -07:00
parent afa91548e1
commit 5862378dc1
15 changed files with 399 additions and 5 deletions

View File

@@ -1,6 +1,8 @@
CREATE TABLE IF NOT EXISTS ordr_user (
id SERIAL NOT NULL PRIMARY KEY,
active BOOLEAN NOT NULL DEFAULT FALSE,
sub_id TEXT UNIQUE NOT NULL,
user_name TEXT NOT NULL,
active BOOLEAN NOT NULL DEFAULT TRUE,
is_admin BOOLEAN NOT NULL DEFAULT FALSE
);