Bug description
The new prisma db seed command does not work with a custom schema location.
With schema location of db/schema.prisma, the seed file should also be looked for at db/seed.ts.
How to reproduce
Set custom schema location and a seed.ts file beside that schema.
Expected behavior
Should be able to have a seed.ts file as a sibling of a custom schema location.
Prisma information
2.15.0
Bug description
The new
prisma db seedcommand does not work with a custom schema location.With schema location of
db/schema.prisma, the seed file should also be looked for atdb/seed.ts.How to reproduce
Set custom schema location and a
seed.tsfile beside that schema.Expected behavior
Should be able to have a
seed.tsfile as a sibling of a custom schema location.Prisma information
2.15.0