mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
update stats table indexes
This commit is contained in:
parent
800a76db72
commit
423ecb1071
1 changed files with 9 additions and 2 deletions
|
|
@ -1473,9 +1473,16 @@ $collections = [
|
|||
'orders' => [Database::ORDER_DESC],
|
||||
],
|
||||
[
|
||||
'$id' => '_key_time_period',
|
||||
'$id' => '_key_metric',
|
||||
'type' => Database::INDEX_KEY,
|
||||
'attributes' => ['time', 'period'],
|
||||
'attributes' => ['metric'],
|
||||
'lengths' => [],
|
||||
'orders' => [Database::ORDER_ASC],
|
||||
],
|
||||
[
|
||||
'$id' => '_key_metric_period',
|
||||
'type' => Database::INDEX_KEY,
|
||||
'attributes' => ['metric', 'period'],
|
||||
'lengths' => [],
|
||||
'orders' => [Database::ORDER_DESC],
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in a new issue