export class AddLabelGroupByToGroupingRules1779971548393 {
    constructor() {
        this.name = "AddLabelGroupByToGroupingRules1779971548393";
    }
    async up(queryRunner) {
        await queryRunner.query(`ALTER TABLE "IncidentGroupingRule" ADD "groupByIncidentLabels" boolean NOT NULL DEFAULT false`);
        await queryRunner.query(`ALTER TABLE "IncidentGroupingRule" ADD "groupByMonitorLabels" boolean NOT NULL DEFAULT false`);
        await queryRunner.query(`ALTER TABLE "AlertGroupingRule" ADD "groupByAlertLabels" boolean NOT NULL DEFAULT false`);
        await queryRunner.query(`ALTER TABLE "AlertGroupingRule" ADD "groupByMonitorLabels" boolean NOT NULL DEFAULT false`);
    }
    async down(queryRunner) {
        await queryRunner.query(`ALTER TABLE "AlertGroupingRule" DROP COLUMN "groupByMonitorLabels"`);
        await queryRunner.query(`ALTER TABLE "AlertGroupingRule" DROP COLUMN "groupByAlertLabels"`);
        await queryRunner.query(`ALTER TABLE "IncidentGroupingRule" DROP COLUMN "groupByMonitorLabels"`);
        await queryRunner.query(`ALTER TABLE "IncidentGroupingRule" DROP COLUMN "groupByIncidentLabels"`);
    }
}
//# sourceMappingURL=1779971548393-AddLabelGroupByToGroupingRules.js.map