Frederik
02/02/2022, 2:00 PM3.9.0
we shipped migrate diff
in preview which is a bit like a swiss army knife for migrations. The tool allows you to diff
⢠Prisma schemas
⢠your migration history and
⢠database schemas
in any combination and returns a script or a human readable representation of the diff. As a companion we added db execute
which can be used to send the resulting script to a database.
We believe this is a game changer troubleshooting all sorts of migration use cases. But please take a look and let us know what you think š
Some documentation can be found here and we are working on more!Tyler Bell
02/02/2022, 2:44 PM