Switch to side-by-side view
--- a/Allura/allura/model/repository.py +++ b/Allura/allura/model/repository.py @@ -523,7 +523,9 @@ polymorphic_identity=None indexes = [ ('parent_ids',), - ('repo_id','type') + ('repo_id','type'), + ('type', 'object_ids.object_id'), + ('type', 'tree_id'), ] unique_indexes = [ 'object_id' ]