Skip to content

Commit

Permalink
Revert a problematic index change in bluesky#34.
Browse files Browse the repository at this point in the history
This conflicts with indexing requirements imposed by databroker.v0.
We need old versions of databroker.v0 to work against the same database
as this does.
  • Loading branch information
danielballan committed Dec 18, 2020
1 parent 49daa5c commit 749bb45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suitcase/mongo_normalized/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def _create_indexes(self):
If the index already exists, this has no effect.
"""
self._resource_collection.create_index('uid', unique=True)
self._resource_collection.create_index('uid')
self._resource_collection.create_index('resource_id') # legacy
# TODO: Migrate all Resources to have a RunStart UID, and then make a
# unique index on:
Expand Down

0 comments on commit 749bb45

Please sign in to comment.