From be72adce05e2722c6caea30cd47261b014d8f127 Mon Sep 17 00:00:00 2001 From: evlist Date: Sat, 10 Dec 2022 16:52:52 +0100 Subject: [PATCH] Modifying pouchdb index. --- src/db/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db/index.ts b/src/db/index.ts index 9f9d19e..40d3321 100644 --- a/src/db/index.ts +++ b/src/db/index.ts @@ -58,7 +58,7 @@ export const initDb = async (params: any) => { { name: 'type', def: { - fields: [{ type: 'desc' }, { id: 'desc' }], + fields: [{ type: 'asc' }], }, }, ];