security/codeql-dependabot-gitleaks
| 1 | import { Migration } from "@medusajs/framework/mikro-orm/migrations" |
| 2 | |
| 3 | export class Migration20251210112909 extends Migration { |
| 4 | override async up(): Promise<void> { |
| 5 | this.addSql( |
| 6 | `alter table if exists "order" add column if not exists "locale" text null;` |
| 7 | ) |
| 8 | } |
| 9 | |
| 10 | override async down(): Promise<void> { |
| 11 | this.addSql(`alter table if exists "order" drop column if exists "locale";`) |
| 12 | } |
| 13 | } |