hi, is there a way to run `prisma db seed` when pr...
# prisma-migrate
b
hi, is there a way to run
prisma db seed
when prisma is in a custom folder? we're using nx to manage our monorepo and i can't find a flag to customize the path
a
Looks like I just answered your question here: https://github.com/prisma/prisma/issues/5161#issuecomment-764763105
b
thanks @Alberto Perdomo! i'll keep an eye out for a fix. any workaround in the meantime?
a
I guess you could create an npm script in your
package.json
and call
npm run seed
, but it will obviously not be triggered when Prisma Migrate resets the database. You will have to call it manually.
Note this should be fixed really soon in dev and released in stable in about 2 weeks (probably Feb 2).
b
i'll give it a try, thanks again @Alberto Perdomo!