export class RenameEvaluateOverTimeInCriteriaFilter1769676117342 {
    constructor() {
        this.name = "RenameEvaluateOverTimeInCriteriaFilter1769676117342";
    }
    async up(queryRunner) {
        /*
         * Update the monitorSteps JSONB column in Monitor table
         * Replace all occurrences of "eveluateOverTime" with "evaluateOverTime"
         */
        await queryRunner.query(`
      UPDATE "Monitor"
      SET "monitorSteps" = REPLACE("monitorSteps"::text, '"eveluateOverTime"', '"evaluateOverTime"')::jsonb
      WHERE "monitorSteps"::text LIKE '%eveluateOverTime%'
    `);
    }
    async down(queryRunner) {
        // Rollback: rename evaluateOverTime back to eveluateOverTime
        await queryRunner.query(`
      UPDATE "Monitor"
      SET "monitorSteps" = REPLACE("monitorSteps"::text, '"evaluateOverTime"', '"eveluateOverTime"')::jsonb
      WHERE "monitorSteps"::text LIKE '%evaluateOverTime%'
    `);
    }
}
//# sourceMappingURL=1769676117342-RenameEvaluateOverTimeInCriteriaFilter.js.map