automation/medusa-upstream-review
| 1 | import { Migration } from "@medusajs/framework/mikro-orm/migrations" |
| 2 | |
| 3 | export class Migration20241216183049 extends Migration { |
| 4 | async up(): Promise<void> { |
| 5 | this.addSql( |
| 6 | 'alter table if exists "cart_line_item_tax_line" alter column "rate" type real using ("rate"::real);' |
| 7 | ) |
| 8 | |
| 9 | this.addSql( |
| 10 | 'alter table if exists "cart_shipping_method_tax_line" alter column "rate" type real using ("rate"::real);' |
| 11 | ) |
| 12 | } |
| 13 | } |