2
I created Migrations from the command migrate:generate
of dependence https://github.com/Xethron/migrations-generator
Is there any way to generate models from these migrations?
2
I created Migrations from the command migrate:generate
of dependence https://github.com/Xethron/migrations-generator
Is there any way to generate models from these migrations?
1
I looked into it, and apparently you don’t.
The attribute name
of the command that is in the file MigrateGenerateCommand.php
only displays the value migrate:generate
. Normally, if there were any additional options in this generation of Migrations, this attribute would establish what is.
At first, I took a look at this other repository that can do the same with Models, and I found this one: https://github.com/reliese/laravel.
He rides a scaffolding complete from a specific database and/or table. In its settings file (within the folder /config
, right after installation) you can specify whether to generate the Model with timestamps, soft Deletes, etc.
Browser other questions tagged laravel mvc
You are not signed in. Login or sign up in order to post.
Very good, man... thank you!
– Diego Ananias