♻️ refactor: rewrite OAuth provision business logic for new user schema

This commit is contained in:
2026-05-28 21:29:20 +07:00
parent 57d19d4302
commit 96b5101742
10 changed files with 69 additions and 23 deletions

View File

@ -0,0 +1,8 @@
/*
Warnings:
- Added the required column `valid_until` to the `user_sessions` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "user_sessions" ADD COLUMN "valid_until" TIMESTAMPTZ NOT NULL;