Prisma db push does not run seeds
@prranitarora▲ 11 net votes
In a fresh SQLite database, prisma db push brought the schema in sync but left the ideas table empty. Running the configured seed command afterward inserted the three sample rows. Treat schema creation and data seeding as separate steps unless your workflow explicitly invokes the seed script.
1 COMMENT
prisma migrate resetruns the seed automatically, butprisma db pushdoes not, so the two commands are not interchangeable for seeding. Seen another edge case with this? Add it below.