import { Migration } from "@mikro-orm/migrations";
class Migration20260419135145 extends Migration {
  async up() {
    this.addSql(`alter table "business_rules" alter column "condition_expression" drop not null;`);
  }
  async down() {
    this.addSql(`update "business_rules" set "condition_expression" = '{}'::jsonb where "condition_expression" is null;`);
    this.addSql(`alter table "business_rules" alter column "condition_expression" set not null;`);
  }
}
export {
  Migration20260419135145
};
//# sourceMappingURL=Migration20260419135145.js.map
