diff --git a/file_catalog/mongo.py b/file_catalog/mongo.py index 899e9ee..7dd71cb 100644 --- a/file_catalog/mongo.py +++ b/file_catalog/mongo.py @@ -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(