fix: remove old next config

This commit is contained in:
Henry
2024-01-03 12:41:07 +00:00
parent 2dcf16e4ae
commit 37f73e0747

View File

@@ -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<AdapterAccount["type"]>()
.$type<"oauth" | "oidc" | "email">()
.notNull(),
provider: varchar("provider", { length: 255 }).notNull(),
providerAccountId: varchar("providerAccountId", { length: 255 }).notNull(),