From 37f73e0747476dd0aaaec731da024b79e6ee49cf Mon Sep 17 00:00:00 2001 From: Henry Date: Wed, 3 Jan 2024 12:41:07 +0000 Subject: [PATCH] fix: remove old next config --- src/server/db/schema.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/server/db/schema.ts b/src/server/db/schema.ts index 26bcbf8e..6afca501 100644 --- a/src/server/db/schema.ts +++ b/src/server/db/schema.ts @@ -9,7 +9,6 @@ import { timestamp, varchar, } from "drizzle-orm/mysql-core"; -import { type AdapterAccount } from "@auth/core/adapters"; /** * This is an example of how to use the multi-project schema feature of Drizzle ORM. Use the same @@ -189,7 +188,7 @@ export const accounts = mySqlTable( { userId: varchar("userId", { length: 255 }).notNull(), type: varchar("type", { length: 255 }) - .$type() + .$type<"oauth" | "oidc" | "email">() .notNull(), provider: varchar("provider", { length: 255 }).notNull(), providerAccountId: varchar("providerAccountId", { length: 255 }).notNull(),