mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
update stats table indexes
This commit is contained in:
@@ -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],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user