BeanieODM / beanie

Asynchronous Python ODM for MongoDB

Home Page:http://beanie-odm.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

thorin-schiffer opened this issue · comments

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.

Hi! Thank you for the catch. It is reasonable