diff --git a/src/migration/migrator.ts b/src/migration/migrator.ts index 435f393ac..c2f1b58dc 100644 --- a/src/migration/migrator.ts +++ b/src/migration/migrator.ts @@ -510,7 +510,7 @@ export class Migrator { .withPlugin(this.#schemaPlugin) .selectFrom(this.#migrationTable) .select('name') - .orderBy('timestamp') + .orderBy(['timestamp', 'name']) .execute() return executedMigrations.map((it) => it.name)