mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
Added database key for performence
This commit is contained in:
parent
77793b4e01
commit
add7a01fac
1 changed files with 7 additions and 0 deletions
|
|
@ -715,6 +715,13 @@ $collections = [
|
|||
'lengths' => [1024],
|
||||
'orders' => [Database::ORDER_ASC],
|
||||
],
|
||||
[
|
||||
'$id' => '_key_deleted_email',
|
||||
'type' => Database::INDEX_KEY,
|
||||
'attributes' => ['deleted', 'email'],
|
||||
'lengths' => [0, 1024],
|
||||
'orders' => [Database::ORDER_ASC, Database::ORDER_ASC],
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue