Support the ongoing development of Laravel.io →
Configuration Database Eloquent
Last updated 1 year ago.
0

In L5 early stages, the artisan make:model command received the feature of creating a migration.

In order to create only the model use the following command:

php artisan make:model Test --no-migration

You can find this in Illuminate\Foundation\Console\ModelMakeCommand in the fire method

0

Thank you for your awesome reply

0

Sign in to participate in this thread!

Eventy

Your banner here too?

zerogpm zerogpm Joined 16 Mar 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.