/* * SPDX-FileCopyrightText: syuilo and misskey-project * SPDX-License-Identifier: AGPL-3.0-only */ export class NoteIsDeletable1736233575620 { name = 'NoteIsDeletable1736233575620' async up(queryRunner) { await queryRunner.query(`ALTER TABLE "note" ADD "isDeletable" boolean NOT NULL DEFAULT true`); } async down(queryRunner) { await queryRunner.query(`ALTER TABLE "note" DROP COLUMN "isDeletable"`); } }