long2ice
long2ice
If you want, you can use `os.system` to run aerich command
Reopen this to look more.
`index_name` should return the index name
Drop `aerich` table in database, rm `migrations` dir then try `init` again.
Maybe because your models struct, which say `Can't create schema due to cyclic fk references`
Can you generate db with `Tortoise.generate_schema()` without aerich?
Maybe you should check your models
Caused by split to two files?
Will collect all models content to one file named `old_models.py` and store in db with each version