import { Migration } from "@mikro-orm/migrations";
class Migration20260524000000 extends Migration {
  async up() {
    this.addSql(
      `alter table "attachment_partitions" add column "organization_id" uuid null;`
    );
    this.addSql(
      `alter table "attachment_partitions" add column "tenant_id" uuid null;`
    );
    this.addSql(
      `create index "attachment_partitions_tenant_idx" on "attachment_partitions" ("tenant_id");`
    );
  }
  async down() {
    this.addSql(`drop index if exists "attachment_partitions_tenant_idx";`);
    this.addSql(
      `alter table "attachment_partitions" drop column "tenant_id";`
    );
    this.addSql(
      `alter table "attachment_partitions" drop column "organization_id";`
    );
  }
}
export {
  Migration20260524000000
};
//# sourceMappingURL=Migration20260524000000.js.map
