I created model from cmd by

php artisan make:model Post


and migration file not created automatically