Skip to content

Commit 9fdebea

Browse files
committed
fix: index format
1 parent 4e76a35 commit 9fdebea

File tree

9 files changed

+1145
-1295
lines changed

9 files changed

+1145
-1295
lines changed

indexes/codefresh/agenttasks.json

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,20 @@
11
[
22
{
3-
"v" : 2.0,
4-
"key" : {
5-
"_id" : 1.0
6-
},
7-
"name" : "_id_"
8-
},
9-
{
10-
"v" : 2.0,
11-
"key" : {
12-
"metadata.accountId" : 1,
13-
"metadata.reIdentifier" : 1,
14-
"metadata.shouldExecute" : 1,
15-
"metadata.startAt" : 1,
16-
"metadata.status" : 1,
17-
"metadata.expireAt" : 1
18-
},
19-
"name" : "metadata.accountId_1_metadata.reIdentifier_1_metadata.shouldExecute_1_metadata.startAt_1_metadata.status_1_metadata.expireAt_1"
3+
"keys": {
4+
"metadata.accountId": 1,
5+
"metadata.reIdentifier": 1,
6+
"metadata.shouldExecute": 1,
7+
"metadata.startAt": 1,
8+
"metadata.status": 1,
9+
"metadata.expireAt": 1
10+
}
2011
},
2112
{
22-
"v" : 2.0,
23-
"key" : {
24-
"metadata.expireAt" : 1
13+
"keys": {
14+
"metadata.expireAt": 1
2515
},
26-
"name" : "metadata.expireAt_1",
27-
"expireAfterSeconds" : 0.0
16+
"options": {
17+
"expireAfterSeconds": 0
18+
}
2819
}
29-
]
20+
]
Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,16 @@
11
[
22
{
3-
"expireAfterSeconds": 43200.0,
4-
"key": {
5-
"createdAt": 1.0
3+
"keys": {
4+
"createdAt": 1
65
},
7-
"name": "createdAt_1",
8-
"v": 2.0
6+
"options": {
7+
"expireAfterSeconds": 43200
8+
}
99
},
1010
{
11-
"key": {
12-
"_id": -1.0,
13-
"LDRedisStoreVersion": 1.0
14-
},
15-
"name": "LDRedisStoreVersion_1__id_-1",
16-
"v": 2.0
17-
},
18-
{
19-
"key": {
20-
"_id": 1.0
21-
},
22-
"name": "_id_",
23-
"v": 2.0
11+
"keys": {
12+
"_id": -1,
13+
"LDRedisStoreVersion": 1
14+
}
2415
}
25-
]
16+
]

indexes/codefresh/users.json

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
[
2-
{
3-
"v": 2.0,
4-
"key": {
5-
"account": 1.0,
6-
"_id": 1.0
2+
{
3+
"keys": {
4+
"account": 1,
5+
"_id": 1
6+
}
77
},
8-
"name": "account_1__id_1"
9-
},
10-
{
11-
"v": 2.0,
12-
"key": {
13-
"role": 1.0,
14-
"account": 1.0,
15-
"_id": 1.0
16-
},
17-
"name": "role_1_account_1__id_1"
18-
}
19-
]
8+
{
9+
"keys": {
10+
"role": 1,
11+
"account": 1,
12+
"_id": 1
13+
}
14+
}
15+
]

0 commit comments

Comments
 (0)