TIP 10 / 16

Output SQL Before Running Migrations.

When typing migrate --pretend command, you get the SQL query that will be executed in the terminal. It's an interesting way to debug SQL if necessary.

php
// Artisan command
php artisan migrate --pretend