diff --git a/src/db/index.ts b/src/db/index.ts index d243570..5a6c935 100644 --- a/src/db/index.ts +++ b/src/db/index.ts @@ -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' }], }, }, ]; diff --git a/src/db/lib.test.ts b/src/db/lib.test.ts index 162eb6b..fb68891 100644 --- a/src/db/lib.test.ts +++ b/src/db/lib.test.ts @@ -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, } `); });