Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Commit

Permalink
Fixing indexes in MappingVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
rkorytkowski authored Feb 4, 2020
1 parent 38e1b9e commit 6146994
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ocl/mappings/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,8 @@ class MongoMeta:
[('parent', 1), ('from_concept', 1), ('to_concept', 1), ('retired', 1)],
[('versioned_object_id', 1), ('is_latest_version', 1), ('created_at', -1)],
[('source_version_ids', 1), ('updated_at', -1)],
[('parent_version_id', 1)]]
[('parent_version', 1)],
[('previous_version', 1)]]

def clone(self):
return MappingVersion(
Expand Down

0 comments on commit 6146994

Please sign in to comment.