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

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

* fix: check __init__.py in the migration folder

* refactor

* refactor & add test

* refactor

* Update changelog

---------

Co-authored-by: Waket Zheng <waketzheng@gmail.com>
This commit is contained in:
Lance.Moe
2024-12-11 22:34:14 +09:00
committed by GitHub
parent 12d0a5dad1
commit 6270c4781e
3 changed files with 37 additions and 4 deletions

View File

@@ -5,6 +5,7 @@
### [0.8.1](Unreleased)
#### Fixed
- fix: error when there is __init__.py in the migration folder (#272)
- Setting null=false on m2m field causes migration to fail. (#334)
- Fix NonExistentKey when running `aerich init` without `[tool]` section in config file. (#284)
- Fix configuration file reading error when containing Chinese characters. (#286)