mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-28 20:06:44 -06:00
13 lines
479 B
JavaScript
13 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"`);
|
|
}
|
|
}
|