Skip to content

Commit

Permalink
(temp-2)
Browse files Browse the repository at this point in the history
  • Loading branch information
ric-evans committed Dec 18, 2024
1 parent 411ef04 commit 51085ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions skydriver/database/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ async def ensure_indexes(motor_client: AsyncIOMotorClient) -> None: # type: ign
)

# I3 EVENTS COLL
await motor_client[_DB_NAME][_I3_EVENT_COLL_NAME].drop_index( # type: ignore[index]
"scan_id_index", # TODO: remove after skyd-dev testing
)
await motor_client[_DB_NAME][_I3_EVENT_COLL_NAME].create_index( # type: ignore[index]
"i3_event_id",
name="i3_event_id_index",
Expand Down

0 comments on commit 51085ac

Please sign in to comment.