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.
 
PREVIOUS NEXT
Tagged: #create #migration #model #seeder #laravel
ADD COMMENT
Topic
Name
5+7 =