I created migrations from the command migrate:generate
pendence of the dependency link
Is there any way to generate models from these migrations?
I created migrations from the command migrate:generate
pendence of the dependency link
Is there any way to generate models from these migrations?
I took a look, and apparently there is no.
The name
attribute of the command that remains in the MigrateGenerateCommand.php
file only displays the migrate:generate
value. Normally, if there were any additional options in this generation of migrations, this attribute would establish what it is.
At first I took a look at this other repository that can do the same with Models, and I found this one: link .
It assembles a complete scaffolding from a specific database and / or table. In its settings file (inside the /config
folder, right after the installation), you can set whether to generate the Model with timestamps, soft deletes, etc.