export class AddOwnerRuleInheritFlags1778413144103 {
    constructor() {
        this.name = "AddOwnerRuleInheritFlags1778413144103";
    }
    async up(queryRunner) {
        await queryRunner.query(`ALTER TABLE "AlertOwnerRule" ADD "inheritOwnersFromMonitors" boolean NOT NULL DEFAULT false`);
        await queryRunner.query(`ALTER TABLE "AlertOwnerRule" ADD "inheritOwnersFromHosts" boolean NOT NULL DEFAULT false`);
        await queryRunner.query(`ALTER TABLE "IncidentOwnerRule" ADD "inheritOwnersFromMonitors" boolean NOT NULL DEFAULT false`);
        await queryRunner.query(`ALTER TABLE "IncidentOwnerRule" ADD "inheritOwnersFromHosts" boolean NOT NULL DEFAULT false`);
    }
    async down(queryRunner) {
        await queryRunner.query(`ALTER TABLE "IncidentOwnerRule" DROP COLUMN "inheritOwnersFromHosts"`);
        await queryRunner.query(`ALTER TABLE "IncidentOwnerRule" DROP COLUMN "inheritOwnersFromMonitors"`);
        await queryRunner.query(`ALTER TABLE "AlertOwnerRule" DROP COLUMN "inheritOwnersFromHosts"`);
        await queryRunner.query(`ALTER TABLE "AlertOwnerRule" DROP COLUMN "inheritOwnersFromMonitors"`);
    }
}
//# sourceMappingURL=1778413144103-AddOwnerRuleInheritFlags.js.map