project/medusa-foundation-audit
| 1 | import { Migration } from "@medusajs/framework/mikro-orm/migrations"; |
| 2 | |
| 3 | export class Migration20260108122757 extends Migration { |
| 4 | |
| 5 | override async up(): Promise<void> { |
| 6 | this.addSql(`alter table if exists "translation_settings" add column if not exists "is_active" boolean not null default true;`); |
| 7 | } |
| 8 | |
| 9 | override async down(): Promise<void> { |
| 10 | this.addSql(`alter table if exists "translation_settings" drop column if exists "is_active";`); |
| 11 | } |
| 12 | |
| 13 | } |