Commit Graph
5 Commits
Author SHA1 Message Date
Mikuláš Poul 28a0686d3b Detect NULL default value as no default value.
This can happen when using `db_default=None` with `null=False` on a Django model field.
2025-11-30 12:45:24 +01:00
Deven Dayal a230681de5 Don't consider partial unique index creation as making a column not nullable. 2024-03-30 11:48:49 +01:00
David Wobrock 18a39cb3fc Support Django 5.0 db_default attribute.
A DB default is not considered backward incompatible, as the default value is kept on DB-level.
See https://docs.djangoproject.com/en/dev/releases/5.0/#database-computed-default-values
2024-03-29 12:39:30 +01:00
Artem Streltsov abb6233f44 Ignore 'IS NOT NULL' statements. 2024-02-04 20:33:26 +01:00
David Wobrock 0320cf10dd Migrate from setup.py and setup.cfg to pyproject.toml 2023-10-29 10:56:37 +01:00