chore(): Migration generator fix generated import (#14315)

* chore(): Migration generator fix generated import

* Create two-olives-try.md

* feedback
This commit is contained in:
Adrien de Peretti
2025-12-16 11:11:02 +01:00
committed by GitHub
parent c8a7122ba9
commit d813fc4ff9
24 changed files with 105 additions and 61 deletions

View File

@@ -1,4 +1,4 @@
import { Migration } from "@mikro-orm/migrations"
import { Migration } from "@medusajs/framework/mikro-orm/migrations"
export class Migration20250910130000 extends Migration {
override async up(): Promise<void> {

View File

@@ -1,4 +1,4 @@
import { Migration } from "@mikro-orm/migrations"
import { Migration } from "@medusajs/framework/mikro-orm/migrations"
export class Migration20251016160403 extends Migration {
override async up(): Promise<void> {

View File

@@ -1,4 +1,4 @@
import { Migration } from "@mikro-orm/migrations"
import { Migration } from "@medusajs/framework/mikro-orm/migrations"
export class Migration20251125164002 extends Migration {
override async up(): Promise<void> {

View File

@@ -1,13 +1,13 @@
import { Migration } from '@mikro-orm/migrations';
import { Migration } from "@medusajs/framework/mikro-orm/migrations"
export class Migration20251210112909 extends Migration {
override async up(): Promise<void> {
this.addSql(`alter table if exists "order" add column if not exists "locale" text null;`);
this.addSql(
`alter table if exists "order" add column if not exists "locale" text null;`
)
}
override async down(): Promise<void> {
this.addSql(`alter table if exists "order" drop column if exists "locale";`);
this.addSql(`alter table if exists "order" drop column if exists "locale";`)
}
}

View File

@@ -1,4 +1,4 @@
import { Migration } from "@mikro-orm/migrations"
import { Migration } from "@medusajs/framework/mikro-orm/migrations"
export class Migration20251210112924 extends Migration {
override async up(): Promise<void> {