From 41ec26bac26c3b160f571f7d07abcf57fd0862ec Mon Sep 17 00:00:00 2001 From: manan164 <1897158+manan164@users.noreply.github.com> Date: Tue, 3 Oct 2023 11:36:29 +0530 Subject: [PATCH] Fix out of order migration --- .../dao/postgres/archive/PostgresArchiveDAOConfiguration.java | 1 + 1 file changed, 1 insertion(+) diff --git a/archive/src/main/java/io/orkes/conductor/dao/postgres/archive/PostgresArchiveDAOConfiguration.java b/archive/src/main/java/io/orkes/conductor/dao/postgres/archive/PostgresArchiveDAOConfiguration.java index cc84c1f..e6ba455 100644 --- a/archive/src/main/java/io/orkes/conductor/dao/postgres/archive/PostgresArchiveDAOConfiguration.java +++ b/archive/src/main/java/io/orkes/conductor/dao/postgres/archive/PostgresArchiveDAOConfiguration.java @@ -98,6 +98,7 @@ public Flyway flywayForPrimaryDb() { .schemas("public") .dataSource(dataSource) .baselineOnMigrate(true) + .outOfOrder(true) .mixed(true) .load(); }