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