defiing model while making migration code example Example: make migration with model php artisan make:model -m <Model name>