import { Migration } from "@mikro-orm/migrations"; export class Migration20250218120000_add_bill_title extends Migration { override async up(): Promise { this.addSql(`alter table "bill" add column "title" text not null default '';`); this.addSql(`alter table "bill" alter column "title" drop default;`); } override async down(): Promise { this.addSql(`alter table "bill" drop column "title";`); } }