php artisan migrate dump code example
Example 1: laravel migration seed fresh
php artisan migrate:fresh --seed
Example 2: laravel migration sql dump
# Squashing Migrations
php artisan schema:dump
# Dump the current database schema and prune all existing migrations...
php artisan schema:dump --prune