import { Migration } from '@mikro-orm/migrations'; export class Migration20260626120000 extends Migration { override async up(): Promise { this.addSql(`alter table "requests" drop column if exists "status";`); } override async down(): Promise { this.addSql(`alter table "requests" add column "status" text check ("status" in ('pending', 'invoiced')) not null default 'pending';`); } }