misskey/packages/backend/migration/1730885274028-NotificationMuting.js

12 lines
337 B
JavaScript

export class NotificationMuting1730885274028 {
name = 'NotificationMuting1730885274028'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "muting" ADD "withNotification" boolean NOT NULL DEFAULT true`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "muting" DROP COLUMN "withNotification"`);
}
}