|
1
|
import { Migration } from "@medusajs/framework/mikro-orm/migrations" |
|
2
|
|
|
3
|
export class Migration20250822130931 extends Migration { |
|
4
|
override async up(): Promise<void> { |
|
5
|
'alter table if exists "shipping_option" drop constraint if exists "shipping_option_shipping_option_type_id_foreign", add constraint "shipping_option_shipping_option_type_id_foreign" foreign key ("shipping_option_type_id") references "shipping_option_type" ("id") on update cascade;' |
|
6
|
} |
|
7
|
|
|
8
|
override async down(): Promise<void> {} |
|
9
|
} |