migrate
migrate copied to clipboard
--dry-run flag when running migrations
I am looking for a way to test the migrations before actually running them. For example, running migrate up 1 --dry-run would begin a transaction run the migration and rollback in the end.
Is there any sort of workaround to achieve this?