misskey/packages/backend/migration/1652210810723-PGroonga.js

12 lines
353 B
JavaScript
Raw Normal View History

2024-09-28 19:07:46 +02:00
export class PGroonga1652210810723 {
name = 'PGroonga1652210810723'
async up(queryRunner) {
await queryRunner.query(`CREATE INDEX "IDX_f27f5d88941e57442be75ba9c8" ON "note" USING "pgroonga" ("text")`);
}
async down(queryRunner) {
await queryRunner.query(`DROP INDEX "public"."IDX_f27f5d88941e57442be75ba9c8"`);
}
}