Merge pull request #74 from docmost/remove-redundant-page-slug_id-index
remove redundant page slug_id index
This commit is contained in:
commit
24adff9679
1 changed files with 7 additions and 0 deletions
|
|
@ -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> {}
|
||||||
Loading…
Add table
Reference in a new issue