Rev1701, Simpler index for better sqlite compatibility
This commit is contained in:
parent
14f2470477
commit
d21d0d5b9a
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ class ContentDbPlugin(object):
|
||||||
],
|
],
|
||||||
"indexes": [
|
"indexes": [
|
||||||
"CREATE UNIQUE INDEX file_optional_key ON file_optional (site_id, inner_path)",
|
"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
|
"schema_changed": 11
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ class Config(object):
|
||||||
|
|
||||||
def __init__(self, argv):
|
def __init__(self, argv):
|
||||||
self.version = "0.5.0"
|
self.version = "0.5.0"
|
||||||
self.rev = 1700
|
self.rev = 1701
|
||||||
self.argv = argv
|
self.argv = argv
|
||||||
self.action = None
|
self.action = None
|
||||||
self.config_file = "zeronet.conf"
|
self.config_file = "zeronet.conf"
|
||||||
|
|
Loading…
Reference in a new issue