Mischa
07/12/2022, 5:16 AM__dirname to find it because it doesn't exist in ESM)Marcos Iglesias
07/12/2022, 6:20 AMprisma: {
schema: "/your/path"
}
not the best practice imho, I was using it and changed it to stay pointing to the default...nikolasburk
schema.prisma file also accept a --schema option to specify the file path, e.g. prisma generate --schema ./custom/path/to/schema.prisma. More info in the docs: https://www.prisma.io/docs/reference/api-reference/command-reference#arguments-1 ๐Mischa
07/21/2022, 9:53 PMMischa
07/21/2022, 9:53 PMnikolasburk
Mischa
07/25/2022, 7:38 PM