feat(db): add postgresql support

This commit is contained in:
Scott McKendry
2026-05-23 17:20:02 +12:00
parent 8849d7e00f
commit f642298ba7
34 changed files with 1470 additions and 9 deletions
@@ -0,0 +1,10 @@
CREATE TABLE IF NOT EXISTS "sessions" (
"uuid" TEXT NOT NULL PRIMARY KEY,
"username" TEXT NOT NULL,
"email" TEXT NOT NULL,
"name" TEXT NOT NULL,
"provider" TEXT NOT NULL,
"totp_pending" BOOLEAN NOT NULL,
"oauth_groups" TEXT NOT NULL DEFAULT '',
"expiry" BIGINT NOT NULL
);