export class MigrationName1772350000000 {
    constructor() {
        this.name = "MigrationName1772350000000";
    }
    async up(queryRunner) {
        await queryRunner.query(`ALTER TABLE "GlobalConfig" ADD "monitorMetricRetentionInDays" integer`);
        await queryRunner.query(`ALTER TABLE "GlobalConfig" ADD CONSTRAINT "UQ_monitor_metric_retention" UNIQUE ("monitorMetricRetentionInDays")`);
    }
    async down(queryRunner) {
        await queryRunner.query(`ALTER TABLE "GlobalConfig" DROP CONSTRAINT "UQ_monitor_metric_retention"`);
        await queryRunner.query(`ALTER TABLE "GlobalConfig" DROP COLUMN "monitorMetricRetentionInDays"`);
    }
}
//# sourceMappingURL=1772350000000-MigrationName.js.map