Fix devices_last_seen background update.

Fixes #6134.
This commit is contained in:
Erik Johnston 2019-09-30 11:58:36 +01:00
parent 6d0f559fb3
commit 9267741a5f
3 changed files with 54 additions and 7 deletions

View file

@ -38,6 +38,14 @@ class Sqlite3Engine(object):
"""
return self.module.sqlite_version_info >= (3, 24, 0)
@property
def supports_tuple_comparison(self):
"""
Do we support comparing tuples, i.e. `(a, b) > (c, d)`? This requires
SQLite 3.15+.
"""
return self.module.sqlite_version_info >= (3, 15, 0)
def check_database(self, txn):
pass