fix: add o2o field does not create constraint when migrating (#396)

* fix: add o2o field does not create constraint when migrating

* Add testcase and update changelog

* docs: update migrating list

* refactor: use `_handle_o2o_fields` instead of `is_o2o=True`

* Remove unused line
This commit is contained in:
Waket Zheng
2024-12-22 00:23:47 +08:00
committed by GitHub
parent 1acb9ed1e7
commit f93faa8afb
4 changed files with 90 additions and 34 deletions

View File

@@ -5,6 +5,7 @@
### [0.8.1](Unreleased)
#### Fixed
- fix: add o2o field does not create constraint when migrating. (#396)
- fix: intermediate table for m2m relation not created. (#394)
- Migrate add m2m field with custom through generate duplicated table. (#393)
- Migrate drop the wrong m2m field when model have multi m2m fields. (#376)