Jak migrować pojedynczą tabelę w Laravel
php artisan migrate --path=/database/migrations/2020_04_10_130703_create_test_table.php
Dev
php artisan migrate --path=/database/migrations/2020_04_10_130703_create_test_table.php
php artisan migrate:refresh --seed
Try:
composer dump-autoload
php artisan config:cache
If not working also try:
php artisan migrate:refresh.
Try this command it works for me
php artisan migrate:fresh
However, be careful! This command will drop all data from your DB: