fix: remove old next config
This commit is contained in:
@@ -9,7 +9,6 @@ import {
|
|||||||
timestamp,
|
timestamp,
|
||||||
varchar,
|
varchar,
|
||||||
} from "drizzle-orm/mysql-core";
|
} 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
|
* 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(),
|
userId: varchar("userId", { length: 255 }).notNull(),
|
||||||
type: varchar("type", { length: 255 })
|
type: varchar("type", { length: 255 })
|
||||||
.$type<AdapterAccount["type"]>()
|
.$type<"oauth" | "oidc" | "email">()
|
||||||
.notNull(),
|
.notNull(),
|
||||||
provider: varchar("provider", { length: 255 }).notNull(),
|
provider: varchar("provider", { length: 255 }).notNull(),
|
||||||
providerAccountId: varchar("providerAccountId", { length: 255 }).notNull(),
|
providerAccountId: varchar("providerAccountId", { length: 255 }).notNull(),
|
||||||
|
|||||||
Reference in New Issue
Block a user