From 1f2cefa68e5559d6515f79bff9e31c3181287d03 Mon Sep 17 00:00:00 2001 From: Pedro Guzman Date: Mon, 21 Jul 2025 19:33:24 +0200 Subject: [PATCH] fix: fix script migrations order --- packages/core/framework/src/migrations/migrator.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/framework/src/migrations/migrator.ts b/packages/core/framework/src/migrations/migrator.ts index 60bbeb8a79..9873a7db77 100644 --- a/packages/core/framework/src/migrations/migrator.ts +++ b/packages/core/framework/src/migrations/migrator.ts @@ -139,6 +139,7 @@ export abstract class Migrator { cwd: basePath, ignore: ["**/index.{js,ts}", "**/*.d.ts"], }) + scriptFiles.sort((a, b) => a.localeCompare(b)) if (!scriptFiles?.length) { continue