feat: support --fake for aerich upgrade (#398)

* feat: support `--fake` for aerich upgrade

* Add `--fake` to downgrade

* tests: check --fake result for aerich upgrade and downgrade

* Update readme

* Fix unittest failed because of `db_field_types` changed

* refactor: improve type hints and document
This commit is contained in:
Waket Zheng
2025-02-07 19:44:15 +08:00
committed by GitHub
parent ac847ba616
commit b46ceafb2e
22 changed files with 794 additions and 387 deletions

View File

@@ -4,9 +4,13 @@
### [0.8.2]**(Unreleased)**
#### Added
- feat: add --fake to upgrade/downgrade. ([#398])
#### Fixed
- fix: inspectdb raise KeyError 'int2' for smallint. ([#401])
[#398]: https://github.com/tortoise/aerich/pull/398
[#401]: https://github.com/tortoise/aerich/pull/401
### [0.8.1](../../releases/tag/v0.8.1) - 2024-12-27