laravel migration fk constrained code example
Example 1: laravel rollback last migration
php artisan migrate:rollback --step=1
Example 2: rename table migration laravel
Schema::rename($from, $to);
php artisan migrate:rollback --step=1
Schema::rename($from, $to);