export class MigrationName1743521461137 {
    constructor() {
        this.name = "MigrationName1743521461137";
    }
    async up(queryRunner) {
        await queryRunner.query(`CREATE INDEX "IDX_b2dd2b4597d3514ee4209ccd69" ON "Label" ("name") `);
        await queryRunner.query(`CREATE INDEX "IDX_2dfba2253270684804431fd3c8" ON "MetricType" ("name") `);
    }
    async down(queryRunner) {
        await queryRunner.query(`ALTER TABLE "OnCallDutyPolicyScheduleLayer" ALTER COLUMN "restrictionTimes" SET DEFAULT '{"_type": "RestrictionTimes", "value": {"restictionType": "None", "dayRestrictionTimes": null, "weeklyRestrictionTimes": []}}'`);
        await queryRunner.query(`ALTER TABLE "OnCallDutyPolicyScheduleLayer" ALTER COLUMN "rotation" SET DEFAULT '{"_type": "Recurring", "value": {"intervalType": "Day", "intervalCount": {"_type": "PositiveNumber", "value": 1}}}'`);
    }
}
//# sourceMappingURL=1743521461137-MigrationName.js.map