From 613f21a9fcd2f02121144831546a0b256c8a72a8 Mon Sep 17 00:00:00 2001 From: eikek Date: Sat, 9 Apr 2022 16:50:06 +0200 Subject: [PATCH] Run fixup migration from 0.32 onwards --- .../src/main/scala/docspell/store/migrate/FlywayMigrate.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/store/src/main/scala/docspell/store/migrate/FlywayMigrate.scala b/modules/store/src/main/scala/docspell/store/migrate/FlywayMigrate.scala index f4254ba5..5df5ba1d 100644 --- a/modules/store/src/main/scala/docspell/store/migrate/FlywayMigrate.scala +++ b/modules/store/src/main/scala/docspell/store/migrate/FlywayMigrate.scala @@ -64,7 +64,7 @@ class FlywayMigrate[F[_]: Sync](jdbc: JdbcConfig, xa: Transactor[F]) { current <- OptionT(getSchemaVersion) _ <- OptionT .fromOption[F](versionComponents(current)) - .filter(v => v._1 >= 1 && v._2 >= 33) + .filter(v => v._1 >= 1 && v._2 >= 32) fw <- OptionT.liftF(createFlyway(MigrationKind.Fixups)) _ <- OptionT.liftF(logger.info(s"!!! Running fixup migrations")) _ <- OptionT.liftF(Sync[F].blocking(fw.migrate()))