diff --git a/app/config/collections.php b/app/config/collections.php index dd1c84df2..d446d278b 100644 --- a/app/config/collections.php +++ b/app/config/collections.php @@ -259,17 +259,10 @@ $collections = [ ], ], 'indexes' => [ - [ - '$id' => '_key_collection_internal_id', - 'type' => Database::INDEX_KEY, - 'attributes' => ['collectionInternalId'], - 'lengths' => [Database::LENGTH_KEY], - 'orders' => [Database::ORDER_ASC], - ], [ '$id' => '_key_collection', 'type' => Database::INDEX_KEY, - 'attributes' => ['collectionId'], + 'attributes' => ['collectionInternalId'], 'lengths' => [Database::LENGTH_KEY], 'orders' => [Database::ORDER_ASC], ], @@ -374,17 +367,10 @@ $collections = [ [ '$id' => '_key_collection', 'type' => Database::INDEX_KEY, - 'attributes' => ['collectionId'], - 'lengths' => [Database::LENGTH_KEY], - 'orders' => [Database::ORDER_ASC], - ], - [ - '$id' => '_key_collection_internal_id', - 'type' => Database::INDEX_KEY, 'attributes' => ['collectionInternalId'], 'lengths' => [Database::LENGTH_KEY], 'orders' => [Database::ORDER_ASC], - ], + ] ], ], @@ -742,17 +728,10 @@ $collections = [ ], ], 'indexes' => [ - [ - '$id' => '_key_project_internal_id', - 'type' => Database::INDEX_KEY, - 'attributes' => ['projectInternalId'], - 'lengths' => [Database::LENGTH_KEY], - 'orders' => [Database::ORDER_ASC], - ], [ '$id' => '_key_project', 'type' => Database::INDEX_KEY, - 'attributes' => ['projectId'], + 'attributes' => ['projectInternalId'], 'lengths' => [Database::LENGTH_KEY], 'orders' => [Database::ORDER_ASC], ], @@ -854,17 +833,10 @@ $collections = [ ], ], 'indexes' => [ - [ - '$id' => '_key_project_internal_id', - 'type' => Database::INDEX_KEY, - 'attributes' => ['projectInternalId'], - 'lengths' => [Database::LENGTH_KEY], - 'orders' => [Database::ORDER_ASC], - ], [ '$id' => '_key_project', 'type' => Database::INDEX_KEY, - 'attributes' => ['projectId'], + 'attributes' => ['projectInternalId'], 'lengths' => [Database::LENGTH_KEY], 'orders' => [Database::ORDER_ASC], ], @@ -944,17 +916,10 @@ $collections = [ ], ], 'indexes' => [ - [ - '$id' => '_key_project_internal_id', - 'type' => Database::INDEX_KEY, - 'attributes' => ['projectInternalId'], - 'lengths' => [Database::LENGTH_KEY], - 'orders' => [Database::ORDER_ASC], - ], [ '$id' => '_key_project', 'type' => Database::INDEX_KEY, - 'attributes' => ['projectId'], + 'attributes' => ['projectInternalId'], 'lengths' => [Database::LENGTH_KEY], 'orders' => [Database::ORDER_ASC], ], @@ -1070,10 +1035,10 @@ $collections = [ [ '$id' => '_key_project', 'type' => Database::INDEX_KEY, - 'attributes' => ['projectId'], + 'attributes' => ['projectInternalId'], 'lengths' => [Database::LENGTH_KEY], 'orders' => [Database::ORDER_ASC], - ], + ] ], ],