mirror of
https://github.com/docmost/docmost.git
synced 2025-11-13 09:32:40 +10:00
remove redundant slug_id index
This commit is contained in:
@ -46,12 +46,6 @@ 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