import { Migration } from "@mikro-orm/migrations";
class Migration20260313222043 extends Migration {
  async up() {
    this.addSql(`drop index "gateway_webhook_events_idempotency_unique";`);
    this.addSql(`create index "gateway_webhook_events_idempotency_unique" on "gateway_webhook_events" ("idempotency_key", "provider_key", "organization_id", "tenant_id");`);
  }
  async down() {
    this.addSql(`drop index "gateway_webhook_events_idempotency_unique";`);
    this.addSql(`alter table "gateway_webhook_events" add constraint "gateway_webhook_events_idempotency_unique" unique ("idempotency_key", "provider_key", "organization_id", "tenant_id");`);
  }
}
export {
  Migration20260313222043
};
//# sourceMappingURL=Migration20260313222043.js.map
