mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-23 23:52:05 -05:00
chore: update import path in generate-prisma-schema for dynamic resolution
This commit is contained in:
@@ -13,7 +13,7 @@ export async function generatePrismaSchema(
|
||||
) {
|
||||
const i = async (x: string) => await import(x);
|
||||
const { generateSchema } = (await i(
|
||||
"./../../../../../cli/src/generators/index",
|
||||
join(import.meta.dirname, "./../../../../../cli/src/generators/index"),
|
||||
)) as {
|
||||
generateSchema: (opts: {
|
||||
adapter: DBAdapter<BetterAuthOptions>;
|
||||
|
||||
Reference in New Issue
Block a user