]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Keep the unique flag in `DropIndexOp`
authorIuri de Silvio <iuri.desilvio@channable.com>
Mon, 4 Dec 2023 18:22:22 +0000 (13:22 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 6 Dec 2023 21:13:33 +0000 (16:13 -0500)
commit6827b4d0db242946e074c1729d1317008e85a244
tree7ea72dae27bcfdbb2473c13880ac91bec29848b1
parent0fc08799d62f32553ff0e4b629a0d4371ece6a09
Keep the unique flag in `DropIndexOp`

Fixed issue where the "unique" flag of an ``Index`` would not be maintained
when generating downgrade migrations.  Pull request courtesy Iuri de
Silvio.

Fixes: #1371
Closes: #1372
Pull-request: https://github.com/sqlalchemy/alembic/pull/1372
Pull-request-sha: 515b4ed049048d4f5d178ed1777018d5e0c34968

Change-Id: Id4ff7212e2738f2b38ba0a9a8f12bccdc1796b55
alembic/operations/ops.py
docs/build/unreleased/1371.rst [new file with mode: 0644]
tests/test_autogen_diffs.py