import { Migration } from "@mikro-orm/migrations";
class Migration20260417120000 extends Migration {
  async up() {
    this.addSql(`alter table "messages" add column if not exists "external_email_hash" text null;`);
    this.addSql(`create index if not exists "messages_external_email_hash_idx" on "messages" ("external_email_hash");`);
  }
  async down() {
    this.addSql(`drop index if exists "messages_external_email_hash_idx";`);
    this.addSql(`alter table "messages" drop column if exists "external_email_hash";`);
  }
}
export {
  Migration20260417120000
};
//# sourceMappingURL=Migration20260417120000.js.map
