Skip to content

Commit

Permalink
Remove Redundant logical_name Index (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
ric-evans authored Oct 6, 2021
1 parent db1c8f2 commit 8dbaa4c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion file_catalog/mongo.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ async def create_indexes(self) -> None:
"""Create indexes for all file-catalog mongo collections."""
# all files (a.k.a. required fields)
await self.client.files.create_index('uuid', unique=True, background=True)
await self.client.files.create_index('logical_name', unique=False, background=True)
await self.client.files.create_index([('logical_name', pymongo.HASHED)], background=True)
await self.client.files.create_index('locations', unique=True, background=True)
await self.client.files.create_index(
Expand Down

0 comments on commit 8dbaa4c

Please sign in to comment.