From 3e519ebcd8556fc4fd3615fb62d694d05a060f1d Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Sun, 7 Jul 2024 16:07:43 +0100 Subject: [PATCH] remove redundant slug_id index --- .../server/src/database/migrations/20240324T086300-pages.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/apps/server/src/database/migrations/20240324T086300-pages.ts b/apps/server/src/database/migrations/20240324T086300-pages.ts index cbe239c7..ea3fbed9 100644 --- a/apps/server/src/database/migrations/20240324T086300-pages.ts +++ b/apps/server/src/database/migrations/20240324T086300-pages.ts @@ -46,12 +46,6 @@ export async function up(db: Kysely): Promise { .using('GIN') .column('tsv') .execute(); - - await db.schema - .createIndex('pages_slug_id_idx') - .on('pages') - .column('slug_id') - .execute(); } export async function down(db: Kysely): Promise {