1Try:
2composer dump-autoload
3php artisan config:cache
4
5If not working also try:
6php artisan migrate:refresh.
1// use the make:migration Artisan command to generate a database migration
2php artisan make:migration create_flights_table
3
4// use --create to indicate whether the migration will be creating a new table
5php artisan make:migration create_flights_table --create=flights
6
7// use --table to indicate the table name
8php artisan make:migration add_destination_to_flights_table --table=flights
1$ php artisan migrate:fresh
2
3Dropped all tables successfully.
4Migration table created successfully.
5Migrating: 2014_10_12_000000_create_users_table
6Migrated: 2014_10_12_000000_create_users_table
7Migrating: 2014_10_12_100000_create_password_resets_table
8Migrated: 2014_10_12_100000_create_password_resets_table
9