diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-01-09 11:42:02 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-01-09 21:06:57 -0500 |
| commit | 08994cb97c501a3cf984fd827eba9aa9614b9dd3 (patch) | |
| tree | 49d9a618b0f0468061bff277ca7c22062962add9 /test | |
| parent | 86f243a8747c28f87dce5d34fb42501ddfb5d387 (diff) | |
| download | sqlalchemy-08994cb97c501a3cf984fd827eba9aa9614b9dd3.tar.gz | |
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
Diffstat (limited to 'test')
| -rw-r--r-- | test/requirements.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/requirements.py b/test/requirements.py index d95a3c58b..c70169acf 100644 --- a/test/requirements.py +++ b/test/requirements.py @@ -457,6 +457,10 @@ class DefaultRequirements(SuiteRequirements): ) @property + def indexes_with_expressions(self): + return only_on(["postgresql", "sqlite>=3.9.0"]) + + @property def temp_table_names(self): """target dialect supports listing of temporary table names""" |
