]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Fix autogenerate check constraint main
authorFederico Caselli <cfederico87@gmail.com>
Wed, 5 Aug 2026 21:11:37 +0000 (23:11 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Thu, 6 Aug 2026 18:02:42 +0000 (20:02 +0200)
commit19d4466010f346af1e8b91aedd8ee6889d5569ef
tree8aec8d0e207535450b86c39d550165bcd7c8296e
parent85af8bac62c3178b6712421dbbba4e30a2bbfc2f
Fix autogenerate check constraint

Fixed bug in the check constraint detection implemented in :ticket:`508`
that failed to take into account column bound check constraints,
leading to wrong autogenerate detections.

Fixes: #1842
Change-Id: I43e18fb3b54ffbabc3e59bd1a7270516c7b1713f
alembic/autogenerate/compare/check_constraints.py
alembic/autogenerate/compare/constraints.py
alembic/testing/__init__.py
alembic/util/sqla_compat.py
docs/build/unreleased/1842.rst [new file with mode: 0644]
tests/requirements.py
tests/test_autogen_check_constraints.py