David
10/28/2021, 4:00 AMprisma migrate dev
I get the "migration was modified after it was applied" for my two most recent ones. No changes have been made to either of the migrations and I'd really like to avoid needing to store and reseed all my current data into prisma.
Any ideas why this occurs, what could happen, and how to solve?Ryan
10/28/2021, 5:08 AMJoël
David
10/28/2021, 5:42 PMpnpm i -D prisma
David
10/28/2021, 5:43 PMJoël
migrate dev
will need a reset, though it should only be used in development where it’s actually possible to reset
When you want to apply to production run migrate deploy
which will only apply unapplied migrations and warn you if they changedDavid
10/29/2021, 8:03 AM