Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/react-router-example/prisma.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This file was generated by Prisma and assumes you have installed the following:
// npm install --save-dev prisma dotenv
import "dotenv/config"
import { defineConfig, env } from "prisma/config"
import { defineConfig } from "prisma/config"

export default defineConfig({
schema: "prisma/schema.prisma",
Expand All @@ -11,6 +11,6 @@ export default defineConfig({
datasource: {
// Provide a default value for CI/CD environments where the database URL is not set
// This allows prisma generate to run without connecting to the database
url: env("DATABASE_URL") ?? "postgresql://postgres:postgres@localhost:5432/effectify",
url: process.env.DATABASE_URL ?? "postgresql://postgres:postgres@localhost:5432/effectify",
},
})