13 lines
419 B
TypeScript
13 lines
419 B
TypeScript
import { config } from 'dotenv';
|
|
import { defineConfig } from 'prisma/config';
|
|
config({ path: new URL('../../.env', import.meta.url).pathname, quiet: true });
|
|
export default defineConfig({
|
|
schema: 'prisma/schema.prisma',
|
|
migrations: { path: 'prisma/migrations' },
|
|
datasource: {
|
|
url:
|
|
process.env.DATABASE_URL ??
|
|
'postgresql://merchantflow:merchantflow_local@localhost:55440/merchantflow',
|
|
},
|
|
});
|