php laravel run migration down code example
Example 1: php artisan run migration
php artisan migrate
Example 2: Generate Laravel Migrations from an existing database
composer require --dev "xethron/migrations-generator"
php artisan migrate
composer require --dev "xethron/migrations-generator"