mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
add cloudflare workers support (#326)
This commit is contained in:
12
apps/cli/templates/db/prisma/postgres/prisma.config.ts.hbs
Normal file
12
apps/cli/templates/db/prisma/postgres/prisma.config.ts.hbs
Normal file
@@ -0,0 +1,12 @@
|
||||
{{#if (eq dbSetup "prisma-postgres")}}
|
||||
// import "dotenv/config"; uncomment this to load .env
|
||||
{{else}}
|
||||
import "dotenv/config";
|
||||
{{/if}}
|
||||
import path from "node:path";
|
||||
import type { PrismaConfig } from "prisma";
|
||||
|
||||
export default {
|
||||
earlyAccess: true,
|
||||
schema: path.join("prisma", "schema"),
|
||||
} satisfies PrismaConfig;
|
||||
Reference in New Issue
Block a user