Artisan Make Model with Migration
Create an Eloquent model together with its migration in one command.
Generates a Model with -m (migration), -c (controller), -f (factory), -s (seeder) flags. -a generates all of these at once.
When you need this: When creating a new database table and its associated Eloquent model.
Variables
Command
5 views
0 copies
Related in this category
Log in to save
Free account. Save snippets into your own collections.