tortoise / aerich

A database migrations tool for TortoiseORM, ready to production.
https://github.com/tortoise/aerich
Apache License 2.0
823 stars 93 forks source link

aerich upgrade doesn't finish #131

Closed manzato closed 3 years ago

manzato commented 3 years ago

OS: Ubuntu 20.04.2 LTS Python: 3.8.5 Aerich: 0.5.0

I'm trying to run the migrations when my software starts by running aerich upgrade but control never returns (the process doesn't exit). Is this expected? Doesn't sound like, but may be. I did some debugging but couldn't find something obvious.

Log:

(app) manzato@x2:/app/src$ aerich upgrade
No upgrade items found
bhch commented 3 years ago

I'm also seeing a similar freezing while init-db. This seems related to #63.

Edit: This issue seems to be with every command.

long2ice commented 3 years ago

Fixed in v0.5.1

manzato commented 3 years ago

Thanks for the quick turn-around!