Recommended way to nuke migrations?

What’s the best way to “reset” db migrations and start from scratch without starting the project over?

I don’t like to clutter my migrations with a bunch of tweaks when starting out and deciding how to structure my database. I tried manually deleting files… and everything blew up lol

Probably not the best way, but I just delete api/db/migrations folder most of the time.

1 Like

Also, check out the ‘prisma db push’ command

1 Like

note to future self - this also came in handy:

yarn rw prisma migrate reset

1 Like