mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-09-21 23:31:59 +03:00
14 lines
355 B
JavaScript
14 lines
355 B
JavaScript
|
|
|
|
export class v12131580543501339 {
|
|
constructor() {
|
|
this.name = 'v12131580543501339';
|
|
}
|
|
async up(queryRunner) {
|
|
await queryRunner.query(`CREATE INDEX "IDX_NOTE_TAGS" ON "note" USING gin ("tags")`, undefined);
|
|
}
|
|
async down(queryRunner) {
|
|
await queryRunner.query(`DROP INDEX "IDX_NOTE_TAGS"`, undefined);
|
|
}
|
|
}
|