Detect NULL default value as no default value.

This can happen when using `db_default=None` with `null=False` on a Django model field.
This commit is contained in:
Mikuláš Poul authored and David Wobrock committed 2025-11-30 12:45:24 +01:00
1 parent 8c8a0c65ce
commit 28a0686d3b
9 files changed
+90 -2

No files matched your search

+3
View File
@@ -4,6 +4,9 @@ Feature:
- **Breaking change**: Handle custom Django app label when gathering migrations from git reference. (#262)
This means that, an app that was previously referenced by its folder name, will now be referenced by its Django app label.
Bug:
- Consider `DEFAULT NULL` as no default value being defined (#302)
Miscellaneous:
- Add py.typed file (#303)
- Add support for Django 5.2 (#304)