]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
[sqlite] Fix reflection of constraints in attached schemas 8867/head
authorMichael Gorven <michael@gorven.net>
Wed, 23 Nov 2022 23:13:32 +0000 (15:13 -0800)
committerMichael Gorven <michael@gorven.net>
Wed, 23 Nov 2022 23:48:55 +0000 (15:48 -0800)
commit94a5736170f5c944d3dad1ef91dc8550c72a4dc5
treef4bbfd9b098fc8f3f94ef70f3762c2c0bb80987b
parent17313f90e12c30a17048790914f13f8b32c3e86d
[sqlite] Fix reflection of constraints in attached schemas

The `index_info` pragma wasn't specifying the schema, which resulted in
column names not being detected for unique constraints in other schemas.

Fixes: #8866
lib/sqlalchemy/dialects/sqlite/base.py
test/dialect/test_sqlite.py