Reputation: 524
Is there a way to show the actual SQL that Laravel-4 will run against a database given a migration?
I would like to see how it will behave before I actually commit it to a database.
Upvotes: 5
Views: 4811
This does the trick:
php artisan migrate --pretend
Upvotes: 22