From d39c93da5af2c7cc97c21c3eb340fa8362378dc4 Mon Sep 17 00:00:00 2001 From: Pierre Date: Fri, 4 Dec 2020 17:20:26 +0100 Subject: [PATCH] fix: remove index on team.hooks --- src/db/setup-db-indexes.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/db/setup-db-indexes.ts b/src/db/setup-db-indexes.ts index c02c301..daa443d 100644 --- a/src/db/setup-db-indexes.ts +++ b/src/db/setup-db-indexes.ts @@ -149,14 +149,6 @@ export async function setupDbIndexes() { name: 'text', }, }, - { - fieldOrSpec: { - hooks: 1, - }, - options: { - unique: true, - }, - }, ], [Members().collectionName]: [ {