paricafe/packages/backend/migration/1580543501339-v12-13.js
syuilo 0e4a111f81 refactoring
Resolve #7779
2021-11-12 02:02:25 +09:00

14 lines
472 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
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);
}
}
exports.v12131580543501339 = v12131580543501339;