Moshe
07/05/2021, 11:24 AMprisma and it sits on the root folder of my nextjs project. I'd like to name it db and have it within the src folder. Is that possible? If so, how? Thanks 🙂Jakub Hrášek
07/05/2021, 11:32 AM--schema flag or inside package.json file. See the docs
https://www.prisma.io/docs/concepts/components/prisma-schema#prisma-schema-file-locationJakub Hrášek
07/05/2021, 11:34 AMprisma folder to store migration files next to prisma schema.Ryan
07/05/2021, 12:21 PMprisma.Moshe
07/05/2021, 12:59 PM"prisma": {
"schema": "src/db/schema.prisma"
},Moshe
07/05/2021, 1:00 PMdb inside of the src folder. I tested it out and migrations worked just fine.
Again, thanks 🙂