mirror of
https://github.com/Shadowfita/docmost.git
synced 2025-11-13 08:12:32 +10:00
Revert "remove redundant slug_id index"
This reverts commit 3e519ebcd8.
This commit is contained in:
@ -46,6 +46,12 @@ export async function up(db: Kysely<any>): Promise<void> {
|
|||||||
.using('GIN')
|
.using('GIN')
|
||||||
.column('tsv')
|
.column('tsv')
|
||||||
.execute();
|
.execute();
|
||||||
|
|
||||||
|
await db.schema
|
||||||
|
.createIndex('pages_slug_id_idx')
|
||||||
|
.on('pages')
|
||||||
|
.column('slug_id')
|
||||||
|
.execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function down(db: Kysely<any>): Promise<void> {
|
export async function down(db: Kysely<any>): Promise<void> {
|
||||||
|
|||||||
Reference in New Issue
Block a user