]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Don't use schema with second argument, SQL Server sp_rename
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 18 May 2017 14:36:13 +0000 (10:36 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 18 May 2017 14:36:13 +0000 (10:36 -0400)
commitc7da7f2d08d46d1b784a172eeaf76fb660effa2e
tree2b87f2b709b5cde351c4f58c540767532d4fda10
parentfbbb669b8cd8845cd5dbdd827f8beb70fa1476bc
Don't use schema with second argument, SQL Server sp_rename

Repaired :meth:`.Operations.rename_table` for SQL Server when the
target table is in a remote schema, the schema name is omitted from
the "new name" argument.

Also added some extra tests for sp_rename w/ quoting / case sensitive
names.

Change-Id: I411b32d0c5bba5a466c0b5d6a412c1b7541fdc95
Fixes: #429
alembic/ddl/mssql.py
docs/build/changelog.rst
tests/test_mssql.py