Remove uniqueness constraint on collection descriptions
Fix for copy-paste error
This commit is contained in:
parent
12f7db3ae2
commit
5c944d4626
@ -65,8 +65,7 @@ class CollectionOps:
|
|||||||
)
|
)
|
||||||
|
|
||||||
await self.collections.create_index(
|
await self.collections.create_index(
|
||||||
[("oid", pymongo.ASCENDING), ("description", pymongo.ASCENDING)],
|
[("oid", pymongo.ASCENDING), ("description", pymongo.ASCENDING)]
|
||||||
unique=True,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
async def add_collection(
|
async def add_collection(
|
||||||
|
Loading…
Reference in New Issue
Block a user