fix: prisma schema gen diff

This commit is contained in:
Bereket Engida
2024-09-30 20:39:26 +03:00
parent 23abe6a4d4
commit ed7d1af239
5 changed files with 93 additions and 10 deletions

View File

@@ -1,5 +1,6 @@
import { betterAuth } from "better-auth";
import { prismaAdapter } from "better-auth/adapters/prisma";
import { twoFactor } from "better-auth/plugins";
export const auth = betterAuth({
database: prismaAdapter(
@@ -8,4 +9,5 @@ export const auth = betterAuth({
provider: "mysql",
},
),
plugins: [twoFactor()]
});