]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
fix AlterColumnOp modify_name ignorance
authorel <23kaplun@gmail.com>
Fri, 28 Mar 2025 13:22:29 +0000 (09:22 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 28 Mar 2025 13:23:22 +0000 (09:23 -0400)
commit72276d1efc5584cc8d9265f7f04c50036b709543
tree84b749da909ec439139614290cdb1441d00f4bea
parent4477ff09a3902da4047ff9b0eeb0cb1b24004d7f
fix AlterColumnOp modify_name ignorance

Fixed issue where the "modified_name" of :class:`.AlterColumnOp` would not
be considered when rendering op directives for autogenerate. While
autogenerate cannot detect changes in column name, this would nonetheless
impact approaches that made use of this attribute in rewriter recipes. Pull
request courtesy lenvk.

Fixes: #1635
Closes: #1636
Pull-request: https://github.com/sqlalchemy/alembic/pull/1636
Pull-request-sha: dd103354dcf9cd8db30c66a9a4d3879e4f1c5499

Change-Id: I3e4976a3e703ecd8d69ec208b2d225a8bf6a8251
alembic/autogenerate/render.py
docs/build/unreleased/1635.rst [new file with mode: 0644]
tests/test_autogen_render.py