Laravel specific table migration in single artisan command

How to migrate a specific table?

php artisan migrate:refresh --path=/database/migrations/Filename.php

you should add the path to your migration file to refresh just this table and run

Leave a Comment