]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Add special handling for SQL Server create_index mssql_includes
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 19 Oct 2018 14:00:50 +0000 (10:00 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 19 Oct 2018 14:00:50 +0000 (10:00 -0400)
commite01041ba5a0799c3fe0f6b83fd5cbb3d340d7c6b
treec9aa758203ccc827580dc9a26dd65ca69f080e72
parent2b85a80838cee20dd7343391d9687c683776df25
Add special handling for SQL Server create_index mssql_includes

Fixed issue where usage of the SQL Server ``mssql_include`` option within a
:meth:`.Operations.create_index` would raise a KeyError, as the additional
column(s) need to be added to the table object used by the construct
internally.

Change-Id: If58fa35b9db8af473a9654e5a2c8861741810511
Fixes: #513
alembic/ddl/mssql.py
docs/build/unreleased/513.rst [new file with mode: 0644]
tests/test_mssql.py