import { Migration } from '@mikro-orm/migrations'; export class Migration20260704130000_removeRestaurantCreditColumn extends Migration { override async up(): Promise { this.addSql(`alter table "restaurants" drop column if exists "credit";`); } override async down(): Promise { this.addSql(`alter table "restaurants" add column "credit" numeric(10,0) not null default 0;`); } }