]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Fix MySQL native ENUM autogenerate detection main
authorFurkan Köykıran <furkankoykiran@users.noreply.github.com>
Fri, 6 Mar 2026 15:13:49 +0000 (10:13 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 6 Mar 2026 16:27:13 +0000 (11:27 -0500)
commit7b510dc52c7e931f393b6387f183bf888a08dee9
treef1b2ce3e93520e01037b59e156d6556067e7b402
parentc375f68d1ab18b19efc7b3d161f1ed9cf841b9b7
Fix MySQL native ENUM autogenerate detection

Implemented type comparison for :class:`.ENUM` datatypes on MySQL, which
checks that the individual enum values are equivalent.  If additional
entries are on either side, this generates a diff.  Changes of order do not
generate a diff.  Pull request courtesy Furkan Köykıran.

Fixes: #779
Fixes: #1745
Closes: #1746
Pull-request: https://github.com/sqlalchemy/alembic/pull/1746
Pull-request-sha: 49b17845d89e5938c1616bb77fbb6294d8c4db2f

Change-Id: I0023b659acec603d39feaea45413637fe559ea56
alembic/ddl/mysql.py
docs/build/unreleased/1745.rst [new file with mode: 0644]
tests/test_mysql.py