]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Correct reflection for composite primary keys
authorfulpm <8397318+fulpm@users.noreply.github.com>
Tue, 20 Oct 2020 21:54:50 +0000 (17:54 -0400)
committerGord Thompson <gord@gordthompson.com>
Wed, 21 Oct 2020 23:47:33 +0000 (17:47 -0600)
commit7937a409f9e685341b6a5b8385491befe0aaa4d4
tree32205383be2966d9bc59fb47306b65184204e5f2
parent91e14cc42c3c715f57db7d910761dfd5dd55e2b1
Correct reflection for composite primary keys

Fixes: #5661
### Description
Fixes reflection of composite primary keys to maintain the correct column order in the MSSQL
and SQLite dialects.

Closes: #5662
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5662
Pull-request-sha: b568dec7070b4f3ee46a528bdf16fb237baade2a

Change-Id: I452b23cbf7f389c4a0a34cffce5c32498efe37d2
doc/build/changelog/unreleased_13/5661.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mssql/base.py
lib/sqlalchemy/dialects/sqlite/base.py
lib/sqlalchemy/testing/suite/test_reflection.py