stefr
6265
14
General

make:model also creates a migration

Posted 4 years ago by stefr

Hi,

Maybe this is a newbie question. I'm just getting started. When I want to create a model I use

php artisan make:model Article

Then this is the result:

Model created successfully.
Created Migration: 2015_02_25_104828_create_articles_table

Why does it also create the Migration? This doesn't happen in the laracast movies.

Please sign in or create an account to participate in this conversation.