feat: extend schema with list and cards

This commit is contained in:
Henry
2023-11-07 21:39:11 +00:00
parent 1df15595f4
commit c7da56785e
5 changed files with 104 additions and 12 deletions

View File

@@ -6,7 +6,7 @@ import {
} from "next-auth";
import { db } from "~/server/db";
import { mysqlTable } from "~/server/db/schema";
import { mySqlTable } from "~/server/db/schema";
/**
* Module augmentation for `next-auth` types. Allows us to add custom properties to the `session`
@@ -44,7 +44,7 @@ export const authOptions: NextAuthOptions = {
},
}),
},
adapter: DrizzleAdapter(db, mysqlTable),
adapter: DrizzleAdapter(db, mySqlTable),
pages: {
signIn: "/auth/login",
// signOut: "/auth/signout",