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