From 90de13452f708bc61d777501942288d40a84b97d Mon Sep 17 00:00:00 2001 From: emmatveev Date: Sun, 24 Nov 2024 12:12:28 +0300 Subject: [PATCH] fix --- app/storage/mongo/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/storage/mongo/__init__.py b/app/storage/mongo/__init__.py index 94afe0c..d908714 100644 --- a/app/storage/mongo/__init__.py +++ b/app/storage/mongo/__init__.py @@ -23,6 +23,7 @@ def create_indexes(): database.get_collection('experiments').create_index([ ('stage', 1), ('project', 1), + ('name', 1), ], unique=True) database.get_collection('staff').create_index([ ('platform_id', 1),