From a6acb1724bfc643a088bd9c3465dcdf280fb2524 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Sat, 12 Jun 2021 15:00:17 +0300 Subject: [PATCH] Fixed wrong indexes --- app/config/collections2.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/config/collections2.php b/app/config/collections2.php index 79aa3637ca..b130092886 100644 --- a/app/config/collections2.php +++ b/app/config/collections2.php @@ -629,7 +629,7 @@ $collections = [ 'indexes' => [ [ '$id' => '_key_bucket', - 'type' => Database::INDEX_UNIQUE, + 'type' => Database::INDEX_KEY, 'attributes' => ['bucketId'], 'lengths' => [Database::LENGTH_KEY], 'orders' => [Database::ORDER_ASC], @@ -852,7 +852,7 @@ $collections = [ 'indexes' => [ [ '$id' => '_key_function', - 'type' => Database::INDEX_UNIQUE, + 'type' => Database::INDEX_KEY, 'attributes' => ['functionId'], 'lengths' => [Database::LENGTH_KEY], 'orders' => [Database::ORDER_ASC], @@ -960,7 +960,7 @@ $collections = [ 'indexes' => [ [ '$id' => '_key_function', - 'type' => Database::INDEX_UNIQUE, + 'type' => Database::INDEX_KEY, 'attributes' => ['functionId'], 'lengths' => [Database::LENGTH_KEY], 'orders' => [Database::ORDER_ASC],