mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-01-06 04:48:14 -05:00
17 lines
440 B
TypeScript
17 lines
440 B
TypeScript
import path from "node:path";
|
|
|
|
import 'dotenv/config'; // <-- This loads your .env file before Prisma runs
|
|
import type {PrismaConfig} from "prisma";
|
|
|
|
export default {
|
|
schema: path.join("prisma", "schema.prisma"),
|
|
migrations: {
|
|
path: path.join("prisma", "migrations"),
|
|
},
|
|
// views: {
|
|
// path: path.join("prisma", "views"),
|
|
// },
|
|
// typedSql: {
|
|
// path: path.join("prisma", "queries"),
|
|
// }
|
|
} satisfies PrismaConfig; |