diff --git a/backend/src/main/java/org/cryptomator/hub/flyway/V2__Initialize_Settings.java b/backend/src/main/java/org/cryptomator/hub/flyway/V2__Initialize_Settings.java
index ef9b3e1a..9e8ee6c4 100644
--- a/backend/src/main/java/org/cryptomator/hub/flyway/V2__Initialize_Settings.java
+++ b/backend/src/main/java/org/cryptomator/hub/flyway/V2__Initialize_Settings.java
@@ -6,6 +6,12 @@
/**
* @deprecated This used to generated the hub id. It got replaced by V3__Initialize_Settings.sql
, though. Despite being dead code,
* this class must remain present in order for Flyway to work correctly on existing installations. May be removed when we start with a new baseline migration
+ *
+ * Note: Quarkus seems to fail to detect this file during hot reloading (see issue 212). + * + * @see Issue 183 + * @see PR 184 + * @see Issue 212 */ @Deprecated public class V2__Initialize_Settings extends BaseJavaMigration { diff --git a/backend/src/main/resources/application.properties b/backend/src/main/resources/application.properties index b73c2e17..b44b36aa 100644 --- a/backend/src/main/resources/application.properties +++ b/backend/src/main/resources/application.properties @@ -61,6 +61,7 @@ quarkus.hibernate-orm.dialect=org.hibernate.dialect.PostgreSQL10Dialect quarkus.hibernate-orm.database.globally-quoted-identifiers=true quarkus.flyway.migrate-at-start=true quarkus.flyway.locations=classpath:org/cryptomator/hub/flyway +%dev.quarkus.flyway.ignore-missing-migrations=true # log Hibernate SQL statements including values, for dev-purpose only %dev.quarkus.log.min-level=TRACE