Revert "remove redundant slug_id index"
This reverts commit 3e519ebcd8.
This commit is contained in:
parent
3e519ebcd8
commit
1958067110
1 changed files with 6 additions and 0 deletions
|
|
@ -46,6 +46,12 @@ export async function up(db: Kysely<any>): Promise<void> {
|
|||
.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<any>): Promise<void> {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue