Add index for "created" routerdb field (fixes #65)
This commit is contained in:
parent
f8c5913ad1
commit
f51d0ae5fd
|
@ -8,6 +8,7 @@ db = client.freifunk
|
|||
# create db indexes
|
||||
db.routers.create_index("hostname")
|
||||
db.routers.create_index("status")
|
||||
db.routers.create_index("created")
|
||||
db.routers.create_index("last_contact")
|
||||
db.routers.create_index("netifs.mac")
|
||||
db.routers.create_index([("position", "2dsphere")])
|
||||
|
|
Loading…
Reference in New Issue