Skip to content

Commit

Permalink
Added data.cleaned_section on analysis db
Browse files Browse the repository at this point in the history
Used by segment_trip_time page on op-admin-dashboard
  • Loading branch information
TTalex committed Aug 23, 2023
1 parent a8c7dad commit 0694a71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions emission/core/get_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ def _create_analysis_result_indices(tscoll):
tscoll.create_index([("data.duration", pymongo.DESCENDING)], sparse=True)
tscoll.create_index([("data.mode", pymongo.ASCENDING)], sparse=True)
tscoll.create_index([("data.section", pymongo.ASCENDING)], sparse=True)
tscoll.create_index([("data.cleaned_section", pymongo.ASCENDING)], sparse=True)

# recreated location
tscoll.create_index([("data.ts", pymongo.DESCENDING)], sparse=True)
Expand Down

0 comments on commit 0694a71

Please sign in to comment.