Refs #29928 -- Corrected SQLite's can_defer_constraint_checks feature flag.

This commit is contained in:
Simon Charette 2018-12-21 18:06:16 -05:00 committed by Tim Graham
parent 25a0781a16
commit f3eb1cfb58
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
supports_parentheses_in_compound = False
# Deferred constraint checks can be emulated on SQLite < 3.20 but not in a
# reasonably performant way.
can_defer_constraint_checks = Database.version_info >= (3, 20, 0)
can_defer_constraint_checks = Database.sqlite_version_info >= (3, 20, 0)
@cached_property
def supports_stddev(self):