diff --git a/apps/server/src/database/migrations/20240707T145623-drop-redundant-pages-slug_id-index.ts b/apps/server/src/database/migrations/20240707T145623-drop-redundant-pages-slug_id-index.ts new file mode 100644 index 00000000..ac2622ab --- /dev/null +++ b/apps/server/src/database/migrations/20240707T145623-drop-redundant-pages-slug_id-index.ts @@ -0,0 +1,7 @@ +import { type Kysely } from 'kysely'; + +export async function up(db: Kysely): Promise { + await db.schema.dropIndex('pages_slug_id_idx').ifExists().execute(); +} + +export async function down(db: Kysely): Promise {}