Nutty
Nutty
Explore posts from servers
PPrisma
Created by Nutty on 9/23/2024 in #help-and-questions
snaplet/seed with prismaSchemaFolder
I can't propperly get snaplet/seed to work together with prismaSchemaFolder snaplet/seed will only run when I define
"prisma": {
"schema": "prisma/schema/schema.prisma"
},
"prisma": {
"schema": "prisma/schema/schema.prisma"
},
in my package.json but this breaks other stuff as it's now pointing to file instead of a directory
2 replies
PPrisma
Created by Nutty on 9/18/2024 in #help-and-questions
up down migration creation
I have started creating down migrations with npx prisma migrate diff and up with npx prisma migrate dev --name ${name} --create-only I want to have the up and down migration in the same folder but it puts the down one in the root of my project. Anyone got a nice solution or alternative?
2 replies