diff --git a/CHANGELOG.md b/CHANGELOG.md index 8383fd7..3b5ef18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ## 5.x.y +Bug: +- Don't detect 'IS NOT NULL' as backward incompatible changes (issue #263) + Miscellaneous: - Migrated from `setup.py` and `setup.cfg` to `pyproject.toml` diff --git a/src/django_migration_linter/sql_analyser/base.py b/src/django_migration_linter/sql_analyser/base.py index 131652e..0dcd9b6 100644 --- a/src/django_migration_linter/sql_analyser/base.py +++ b/src/django_migration_linter/sql_analyser/base.py @@ -40,7 +40,7 @@ def has_not_null_column(sql_statements: list[str], **kwargs) -> bool: ends_with_default = False return ( any( - re.search("(?