Files
medusa-store/packages/modules/notification/src/migrations/Migration20251121123942.ts
2025-11-24 09:24:38 +01:00

14 lines
389 B
TypeScript

import { Migration } from '@mikro-orm/migrations';
export class Migration20251121123942 extends Migration {
override async up(): Promise<void> {
this.addSql(`alter table if exists "notification" add column if not exists "from" text null;`);
}
override async down(): Promise<void> {
this.addSql(`alter table if exists "notification" drop column if exists "from";`);
}
}