php artisan migrate:refresh vs make:migration

Migrate:Refresh = to re-create tables/records in the database based on the migration files#

make:migration = to create a file that contains the definition of the table (keys etc)

C:\wamp\www\blog2>php artisan migrate:refresh

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *