mirror of
https://github.com/docmost/docmost
synced 2025-03-28 21:13:28 +00:00
Revert "remove redundant slug_id index"
This reverts commit 3e519ebcd8556fc4fd3615fb62d694d05a060f1d.
This commit is contained in:
parent
3e519ebcd8
commit
1958067110
@ -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…
x
Reference in New Issue
Block a user