flipboxstudio / lumen-generator

A Lumen Generator You Are Missing
https://packagist.org/packages/flipbox/lumen-generator
MIT License
824 stars 126 forks source link

Including schema:dump command #94

Closed gyohza closed 3 years ago

gyohza commented 3 years ago

From Laravel docs:

As you build your application, you may accumulate more and more migrations over time. This can lead to your migration directory becoming bloated with potentially hundreds of migrations. If you would like, you may "squash" your migrations into a single SQL file. To get started, execute the schema:dump command [...]

I know Lumen applications are supposed to be lightweight, so many migrations aren't expected to begin with, but I think schemas would make more sense than separate migration files for a first run in an application instance.

Can you consider adding the command?