Closed lucekdudek closed 4 years ago
You app is models
rather than app
, so you can ignore --app
or --app models
You app is
models
rather thanapp
, so you can ignore--app
or--app models
Ignoring --app
or not gives the same result.
I confirm that, which is a bug and I fixed it in https://github.com/tortoise/aerich/commit/1fde3cd04e68d56e4ee3f1a6e11078781fb63f91 ,update to lastest dev branch and try again.
Fixed in release v0.3.1
I cannot init aerich
aerich init -t app.database.tortoise.utils.TORTOISE_ORM
gives meaerich init --app app ...
andaerich --app app init ...
gives me the same result evenaerich init -h
gives the same resultpython 3.8.5(pipenv)/3.8.2(docker container) - same result aerich version: 0.3.0 tortoise version: 0.16.16 click version: 7.1.2
TORTOISE_ORM:
This works so I assume models and config are fine:
This is a bug or I am missing something but I couldn't find anything about it in web.