Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

create migration model and seeder laravel at once

php artisan make:model MODEL_PATHMODEL_NAME -ms
  
-m, --migration Create a new migration file for the model.
-s, --seeder Create a new seeder file for the model.
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #create #migration #model #seeder #laravel
ADD COMMENT
Topic
Name
9+1 =