👩💻 Join our community of thousands of amazing developers!
Sometimes, you might run into a situation where you want to see what all database queries will run upon running your Laravel migrations, and that too without actually running the migrations. You can do just this by appending the --pretend option/flag to the artisan migrate command like so. $ php artisan migrate --pretend For instance, let’s say, I created a migration to create a flights table using the artisan make:migrate command with the following content. <?php use Illuminate\Database\Migra...