Removing unused indexes.

This commit is contained in:
Eric van der Vlist 2022-11-15 16:03:36 +01:00
parent 9b23bcec5c
commit cd9ee67fed
2 changed files with 8 additions and 14 deletions

View File

@ -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' }],
},
},
];

View File

@ -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,
}
`);
});