Rev1701, Simpler index for better sqlite compatibility

This commit is contained in:
shortcutme 2016-11-08 03:34:28 +01:00
parent 14f2470477
commit d21d0d5b9a
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ class ContentDbPlugin(object):
],
"indexes": [
"CREATE UNIQUE INDEX file_optional_key ON file_optional (site_id, inner_path)",
"CREATE INDEX deletable ON file_optional (peer, is_downloaded) WHERE peer > 10"
"CREATE INDEX is_downloaded ON file_optional (is_downloaded)"
],
"schema_changed": 11
}

View file

@ -8,7 +8,7 @@ class Config(object):
def __init__(self, argv):
self.version = "0.5.0"
self.rev = 1700
self.rev = 1701
self.argv = argv
self.action = None
self.config_file = "zeronet.conf"