1
0
Fork 0
mirror of synced 2024-06-02 19:04:49 +12:00

Add index

This commit is contained in:
Matej Bačo 2022-04-27 09:13:34 +00:00
parent f642f19ca6
commit 18c3f021af

View file

@ -1395,6 +1395,13 @@ $collections = [
'lengths' => [100, 100],
'orders' => [Database::ORDER_ASC, Database::ORDER_ASC],
],
[
'$id' => '_key_user',
'type' => Database::INDEX_KEY,
'attributes' => ['userId'],
'lengths' => [Database::LENGTH_KEY],
'orders' => [Database::ORDER_ASC],
],
],
],