import { Migration } from "@mikro-orm/migrations";
const CODE_WORKFLOW_ID = "workflows.checkout-demo";
function buildRetireSeededCheckoutDemoSql() {
  return `
    update "workflow_definitions" as "wf"
    set "deleted_at" = current_timestamp,
        "updated_at" = current_timestamp
    where "wf"."workflow_id" = '${CODE_WORKFLOW_ID}'
      and "wf"."code_workflow_id" is null
      and "wf"."deleted_at" is null;
  `.trim();
}
class Migration20260716120000 extends Migration {
  async up() {
    this.addSql(buildRetireSeededCheckoutDemoSql());
  }
  async down() {
  }
}
export {
  Migration20260716120000,
  buildRetireSeededCheckoutDemoSql
};
//# sourceMappingURL=Migration20260716120000.js.map
