Dry run migrations i.e. Introduce --dry-run
flag
#49780
Unanswered
aagjalpankaj
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, Laravel migrate command has
--pretend
flag which basically shows SQL statements that will be executed but does not validate it. Can we introduce--dry-run
flag as well? It will execute the statements and rollback immediately.If this sounds like an useful feature, I can prepare PR for it :)
Beta Was this translation helpful? Give feedback.
All reactions