Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

command to create model with migration in laravel

php artisan make:model ModelName -m
//In the above command "-m" will create migration file
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #command #create #model #migration #laravel
ADD COMMENT
Topic
Name
2+2 =