fix #12: simplify auth adapter, add verifications table

This commit is contained in:
Christopher Mayor
2026-04-27 11:22:42 -07:00
parent 024f3cb1f7
commit 273b600e98
4 changed files with 24 additions and 6 deletions

View File

@@ -0,0 +1,8 @@
CREATE TABLE IF NOT EXISTS "verifications" (
"id" text PRIMARY KEY NOT NULL,
"identifier" text NOT NULL,
"value" text NOT NULL,
"expires_at" timestamp NOT NULL,
"created_at" timestamp with time zone DEFAULT now(),
"updated_at" timestamp with time zone DEFAULT now()
);

View File

@@ -22,6 +22,13 @@
"when": 1777066400000,
"tag": "0002_add_accounts_table",
"breakpoints": true
},
{
"idx": 3,
"version": "7",
"when": 1777066500000,
"tag": "0003_add_verifications_table",
"breakpoints": true
}
]
}