* chore(): Move peer deps into a single package and re export from framework * WIP * update core packages * update cli and deps * update medusa * update exports path * remove analyze * update modules deps * finalise changes * fix yarn * fix import * Refactor peer dependencies into a single package Consolidate peer dependencies into one package and re-export from the framework. * update changeset * Update .changeset/brown-cows-sleep.md Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com> * rm deps * fix deps * increase timeout * upgrade version * update versions * update versions * fixes * update lock * fix missing import * fix missing import --------- Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
14 lines
497 B
TypeScript
14 lines
497 B
TypeScript
import { Migration } from "@medusajs/framework/mikro-orm/migrations";
|
|
|
|
export class Migration20250120111059 extends Migration {
|
|
|
|
async up(): Promise<void> {
|
|
this.addSql('CREATE UNIQUE INDEX IF NOT EXISTS "IDX_workflow_execution_workflow_id_transaction_id_unique" ON "workflow_execution" (workflow_id, transaction_id) WHERE deleted_at IS NULL;');
|
|
}
|
|
|
|
async down(): Promise<void> {
|
|
this.addSql('drop index if exists "IDX_workflow_execution_workflow_id_transaction_id_unique";');
|
|
}
|
|
|
|
}
|