mirror of
https://github.com/paricafe/misskey.git
synced 2025-01-19 08:08:41 -06:00
fix
This commit is contained in:
parent
60e3a5f475
commit
d805a3d9c8
1 changed files with 16 additions and 0 deletions
16
packages/backend/migration/1696388600237-revert-note-edit.js
Normal file
16
packages/backend/migration/1696388600237-revert-note-edit.js
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
/*
|
||||||
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
||||||
|
* SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
*/
|
||||||
|
|
||||||
|
export class RevertNoteEdit1696388600237 {
|
||||||
|
name = 'RevertNoteEdit1696388600237'
|
||||||
|
|
||||||
|
async up(queryRunner) {
|
||||||
|
await queryRunner.query(`ALTER TABLE "note" DROP COLUMN "updatedAt"`);
|
||||||
|
}
|
||||||
|
|
||||||
|
async down(queryRunner) {
|
||||||
|
await queryRunner.query(`ALTER TABLE "note" ADD "updatedAt" TIMESTAMP WITH TIME ZONE`);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue