Removing unused indexes.
This commit is contained in:
1 parent
9b23bcec5c
commit
cd9ee67fed
2 files changed
+8
-14
No files matched your search
+1
-7
@@ -55,13 +55,7 @@ export const initDb = async (params: any) => {
|
||||
{
|
||||
name: 'type-subtype',
|
||||
def: {
|
||||
fields: [{ type: 'asc' }, { subtype: 'asc' }],
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'type-trkpt-gpx-time',
|
||||
def: {
|
||||
fields: [{ type: 'asc' }, { gpx: 'asc' }, { 'trkpt.time': 'asc' }],
|
||||
fields: [{ type: 'asc' }],
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
+7
-7
@@ -46,7 +46,7 @@ Object {
|
||||
},
|
||||
},
|
||||
],
|
||||
"total_rows": 5,
|
||||
"total_rows": 4,
|
||||
}
|
||||
`);
|
||||
});
|
||||
@@ -103,7 +103,7 @@ Object {
|
||||
},
|
||||
},
|
||||
],
|
||||
"total_rows": 5,
|
||||
"total_rows": 4,
|
||||
}
|
||||
`);
|
||||
});
|
||||
@@ -136,7 +136,7 @@ Object {
|
||||
},
|
||||
},
|
||||
],
|
||||
"total_rows": 6,
|
||||
"total_rows": 5,
|
||||
}
|
||||
`);
|
||||
});
|
||||
@@ -176,7 +176,7 @@ Object {
|
||||
},
|
||||
},
|
||||
],
|
||||
"total_rows": 7,
|
||||
"total_rows": 6,
|
||||
}
|
||||
`);
|
||||
});
|
||||
@@ -203,7 +203,7 @@ Object {
|
||||
},
|
||||
},
|
||||
],
|
||||
"total_rows": 5,
|
||||
"total_rows": 4,
|
||||
}
|
||||
`);
|
||||
});
|
||||
@@ -230,7 +230,7 @@ Object {
|
||||
},
|
||||
},
|
||||
],
|
||||
"total_rows": 5,
|
||||
"total_rows": 4,
|
||||
}
|
||||
`);
|
||||
});
|
||||
@@ -264,7 +264,7 @@ Object {
|
||||
},
|
||||
},
|
||||
],
|
||||
"total_rows": 6,
|
||||
"total_rows": 5,
|
||||
}
|
||||
`);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user