misskey/packages/backend/migration/1696604429200-revert-revert...

17 lines
468 B
JavaScript
Raw Normal View History

2023-10-06 22:57:23 +00:00
/*
* SPDX-FileCopyrightText: syuilo and other misskey contributors
* SPDX-License-Identifier: AGPL-3.0-only
*/
export class revertrevertnoteeditting1696604429200 {
name = 'revertrevertnoteeditting1696604429200'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "note" ADD "updatedAt" TIMESTAMP WITH TIME ZONE`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "note" DROP COLUMN "updatedAt"`);
}
}