]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fix reflection of constraints in attached schemas
authorMichael Gorven <michael@gorven.net>
Thu, 24 Nov 2022 08:47:26 +0000 (03:47 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 24 Nov 2022 15:18:11 +0000 (10:18 -0500)
commit7a0a76271793ffc3ded684a98927fe84258b9500
tree528a14aecaf0814758eebf9838939fce654d6c5a
parent17313f90e12c30a17048790914f13f8b32c3e86d
Fix reflection of constraints in attached schemas

Backported a fix for SQLite reflection of unique constraints in attached
schemas, released in 2.0 as a small part of :ticket:`4379`. Previously,
unique constraints in attached schemas would be ignored by SQLite
reflection. Pull request courtesy Michael Gorven.

Fixes: #8866
Closes: #8867
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/8867
Pull-request-sha: 94a5736170f5c944d3dad1ef91dc8550c72a4dc5

Change-Id: Id414aeed9d6ce58877d81df2459f6d4f308750a8
doc/build/changelog/unreleased_14/8866.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/sqlite/base.py
test/dialect/test_sqlite.py