]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Skip expression-based index reflection for SQLite
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 9 Jan 2019 16:42:02 +0000 (11:42 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 10 Jan 2019 02:06:57 +0000 (21:06 -0500)
commit08994cb97c501a3cf984fd827eba9aa9614b9dd3
tree49d9a618b0f0468061bff277ca7c22062962add9
parent86f243a8747c28f87dce5d34fb42501ddfb5d387
Skip expression-based index reflection for SQLite

Reflection of an index based on SQL expressions are now skipped with a
warning, in the same way as that of the Postgresql dialect, where we currently
do not support reflecting indexes that have SQL expressions within them.
Previously, an index with columns of None were produced which would break
tools like Alembic.

Fixes: #4431
Change-Id: I1363ade912d206b42669331e2be2bb6f444b65a2
doc/build/changelog/unreleased_12/4431.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/sqlite/base.py
lib/sqlalchemy/testing/requirements.py
lib/sqlalchemy/testing/suite/test_reflection.py
test/requirements.py