Enrollment + almost all auth

This commit is contained in:
mdares
2026-01-03 20:18:39 +00:00
parent 0ad2451dd4
commit a0ed517047
40 changed files with 3559 additions and 31 deletions

View File

@@ -0,0 +1,8 @@
-- AlterTable
ALTER TABLE "Machine" ADD COLUMN "pairing_code" TEXT,
ADD COLUMN "pairing_code_expires_at" TIMESTAMP(3),
ADD COLUMN "pairing_code_used_at" TIMESTAMP(3);
-- CreateIndex
CREATE UNIQUE INDEX "Machine_pairing_code_key" ON "Machine"("pairing_code");