adonisjs / v5-docs

📚 Source code and documentation for the official docs website.
https://v5-docs.adonisjs.com
88 stars 138 forks source link

Fix command example #161

Closed bumbummen99 closed 2 years ago

bumbummen99 commented 2 years ago

https://docs.adonisjs.com/guides/database/migrations

It only says:

You can also create a Lucid model and the migration together by running the `node ace make -m' flag.

bumbummen99 commented 2 years ago

Also when running the command it does return the following error:

[ error ]  Expected "--migration" to be a valid "boolean"

When running like so it does work: node ace make:model -m=true MyModel.

Can't this just be a flag?

thetutlage commented 2 years ago

Thanks for the fix