BeanieODM / beanie

Asynchronous Python ODM for MongoDB
http://beanie-odm.dev/
Apache License 2.0
1.91k stars 201 forks source link

[BUG] Migrations don't skip __init__.py file #874

Open thorin-schiffer opened 4 months ago

thorin-schiffer commented 4 months ago

Describe the bug If migration directory has the init file in it, it will be executed as a migration file and marked in the migration history as a migration node.

Expected behavior Skip the init file and not treat it as a migration.

roman-right commented 4 months ago

Hi! Thank you for the catch. It is reasonable