Is there a way to run `prisma migrate resolve --ap...
# orm-help
a
Is there a way to run
prisma migrate resolve --applied "20201127134938_my_migration"
but for All migrations? My prod database has 10 migrations. I just created a new environment with a fresh new database. I ran
npx prisma db push
. But the table
_prisma_migrations
is empty. So if I run
npx prisma mograte
it will drop an error as he will try to apply old migrations.
Solved! I should have run
npx prisma migrate deploy
instead of
npx prisma db push
👍 1