1
0
mirror of https://git.boykissers.com/pawkey/pawkey-sk.git synced 2025-12-20 04:04:16 +00:00
Files
pawkey-sk/packages/backend/migration/1731910422761-rename-activity-log-indexes.js

17 lines
480 B
JavaScript

/*
* SPDX-FileCopyrightText: hazelnoot and other Sharkey contributors
* SPDX-License-Identifier: AGPL-3.0-only
*/
export class RenameActivityLogIndexes1731910422761 {
name = 'RenameActivityLogIndexes1731910422761'
async up(queryRunner) {
await queryRunner.query(`DROP INDEX "public"."IDK_activity_context_md5"`);
}
async down(queryRunner) {
await queryRunner.query(`CREATE INDEX "IDK_activity_context_md5" ON "activity_context" ("md5") `);
}
}