mirror of
https://github.com/paricafe/misskey.git
synced 2025-03-22 00:39:24 -05:00
14 lines
479 B
JavaScript
14 lines
479 B
JavaScript
![]() |
export class EditNoteNya1706162844037 {
|
||
|
name = 'EditNoteNya1706162844037'
|
||
|
|
||
|
async up(queryRunner) {
|
||
|
await queryRunner.query(`ALTER TABLE "note" ADD "updatedAt" TIMESTAMP WITH TIME ZONE`);
|
||
|
await queryRunner.query(`ALTER TABLE "note" ADD "history" jsonb`);
|
||
|
}
|
||
|
|
||
|
async down(queryRunner) {
|
||
|
await queryRunner.query(`ALTER TABLE "note" DROP COLUMN "history"`);
|
||
|
await queryRunner.query(`ALTER TABLE "note" DROP COLUMN "updatedAt"`);
|
||
|
}
|
||
|
}
|