]> 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>
Thu, 22 Oct 2020 13:19:09 +0000 (07:19 -0600)
commit2ef33697a59710c9dafe5a8033eaa39f7a3f3b14
treeffb3f722eed4095bc3ef896b6df6deb5054bf42e
parent004354fc2bd01671a88956aa250f13ba2ac31010
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
(cherry picked from commit 7937a409f9e685341b6a5b8385491befe0aaa4d4)
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