Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php artisan migrate nothing to migrate

this happend you have already migrated your migrations.

But if you make some changes in migrations then you need to run this command:

The migrate:refresh command will roll back all of your migrations and then execute the migrate command. 
This command effectively re-creates your entire database:

php artisan migrate:refresh
 
# Refresh the database and run all database seeds...
php artisan migrate:refresh --seed



The migrate:fresh command will drop all tables from the database and then execute the migrate command:
php artisan migrate:fresh
 
php artisan migrate:fresh --seed

 
PREVIOUS NEXT
Tagged: #php #artisan #migrate #migrate
ADD COMMENT
Topic
Name
6+6 =