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