]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Ensure schema names also compared in foreign_key_constraint()
authorKonstantin Lebedev <klebedev@blondinka.ru>
Mon, 20 Feb 2017 16:28:06 +0000 (11:28 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 20 Feb 2017 16:41:58 +0000 (11:41 -0500)
commit93eb6ccbe10133d2c5ff52b8ca2faea81008d72a
tree3815e1541041941a539189ffec07d0bcc26d9dbf
parent084c541765652b60f373f4c3c40e8fd0a7d16e06
Ensure schema names also compared in foreign_key_constraint()

Fixed bug in :func:`.ops.create_foreign_key` where the internal table
representation would not be created properly if the foriegn key referred
to a table in a different schema of the same name.  Pull request
courtesy Konstantin Lebedev.

Change-Id: I494c95d02aedbfec3b6318d069322b544cf018fb
Pull-request: https://github.com/zzzeek/alembic/pull/36
alembic/operations/schemaobj.py
docs/build/changelog.rst
tests/test_op.py