1
0
Fork 0
mirror of synced 2024-09-30 17:26:48 +13:00

fix: add missing indexes

This commit is contained in:
Torsten Dittmann 2022-06-21 12:17:34 +02:00
parent b069b7c1bb
commit a8319407fc

View file

@ -1177,6 +1177,13 @@ $collections = [
'lengths' => [320],
'orders' => [Database::ORDER_ASC],
],
[
'$id' => '_key_phone',
'type' => Database::INDEX_UNIQUE,
'attributes' => ['phone'],
'lengths' => [16],
'orders' => [Database::ORDER_ASC],
],
[
'$id' => '_key_search',
'type' => Database::INDEX_FULLTEXT,
@ -1744,7 +1751,7 @@ $collections = [
'orders' => [Database::ORDER_ASC, Database::ORDER_ASC],
],
[
'$id' => '_key_internal',
'$id' => '_key_user',
'type' => Database::INDEX_KEY,
'attributes' => ['userInternalId'],
'lengths' => [Database::LENGTH_KEY],