tortoise / aerich

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

fix: error when there is __init__.py in the migration folder #272

Open LanceMoe opened 1 year ago

LanceMoe commented 1 year ago

Aerich changed from sql to py source code. When there is __init__.py in the migration folder, aerich will report an error. This PR fixes the issue.