]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Add kwargs support to DropIndexOp autogenerate render
authorJet Zhou <jet@gem.com>
Thu, 27 May 2021 18:26:51 +0000 (14:26 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 27 May 2021 18:31:32 +0000 (14:31 -0400)
commite799e42f18f6f84ee2bca9618719b4cf7ba895ee
treeaa02faba6d163a016a24d8d4c30d9fee1a84d5da
parent9c73d0a95788c3a067a74524216a816bf3d77fbd
Add kwargs support to DropIndexOp autogenerate render

Fixed issue where dialect-specific keyword arguments within the
:class:`.DropIndex` operation directive would not render in the
autogenerated Python code. As support was improved for adding dialect
specific arguments to directives as part of :ticket:`803`, in particular
arguments such as "postgresql_concurrently" which apply to the actual
create/drop of the index, support was needed for these to render even in a
drop index operation. Pull request courtesy Jet Zhou.

Fixes: #849
Closes: #852
Pull-request: https://github.com/sqlalchemy/alembic/pull/852
Pull-request-sha: 6392a287179ed746f709ba1e0e07ccab3ea8e4c6

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