Merge pull request #74 from docmost/remove-redundant-page-slug_id-index

remove redundant page slug_id index
This commit is contained in:
Philip Okugbe 2024-07-07 16:29:21 +01:00 committed by GitHub
commit 24adff9679
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,7 @@
import { type Kysely } from 'kysely';
export async function up(db: Kysely<any>): Promise<void> {
await db.schema.dropIndex('pages_slug_id_idx').ifExists().execute();
}
export async function down(db: Kysely<any>): Promise<void> {}