🚧 wip: rewrite reprovision logic to match new user schema

This commit is contained in:
2026-05-28 21:01:54 +07:00
parent 8cebc0cd20
commit 57d19d4302
13 changed files with 120 additions and 110 deletions

View File

@ -0,0 +1,10 @@
/*
Warnings:
- You are about to drop the column `auth_provider` on the `users` table. All the data in the column will be lost.
- You are about to drop the column `provider_token` on the `users` table. All the data in the column will be lost.
*/
-- AlterTable
ALTER TABLE "users" DROP COLUMN "auth_provider",
DROP COLUMN "provider_token";

View File

@ -0,0 +1,8 @@
/*
Warnings:
- You are about to drop the column `last_login` on the `user_oauth_accounts` table. All the data in the column will be lost.
*/
-- AlterTable
ALTER TABLE "user_oauth_accounts" DROP COLUMN "last_login";