Remove uniqueness constraint on collection descriptions

Fix for copy-paste error
This commit is contained in:
Tessa Walsh 2023-05-23 11:03:13 -04:00 committed by GitHub
parent 12f7db3ae2
commit 5c944d4626
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,8 +65,7 @@ class CollectionOps:
)
await self.collections.create_index(
[("oid", pymongo.ASCENDING), ("description", pymongo.ASCENDING)],
unique=True,
[("oid", pymongo.ASCENDING), ("description", pymongo.ASCENDING)]
)
async def add_collection(