From 2d562f64cb371dfd8e0b5b9584818cbdabfe573f Mon Sep 17 00:00:00 2001 From: Avgustin Marinov Date: Tue, 28 Oct 2025 13:18:38 +0200 Subject: [PATCH] Fix properties change migration scripts (#2783) Signed-off-by: Avgustin Marinov --- .../db/migration/H2/V1_12_35__cleanup_prop_changes__H2.sql | 2 +- .../migration/MYSQL/V1_12_35__cleanup_prop_changes__MYSQL.sql | 2 +- .../POSTGRESQL/V1_12_36__cleanup_prop_changes__POSTGRESQL.sql | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hawkbit-repository/hawkbit-repository-jpa-flyway/src/main/resources/db/migration/H2/V1_12_35__cleanup_prop_changes__H2.sql b/hawkbit-repository/hawkbit-repository-jpa-flyway/src/main/resources/db/migration/H2/V1_12_35__cleanup_prop_changes__H2.sql index 12a8ade5c..37995ea60 100644 --- a/hawkbit-repository/hawkbit-repository-jpa-flyway/src/main/resources/db/migration/H2/V1_12_35__cleanup_prop_changes__H2.sql +++ b/hawkbit-repository/hawkbit-repository-jpa-flyway/src/main/resources/db/migration/H2/V1_12_35__cleanup_prop_changes__H2.sql @@ -1,4 +1,4 @@ DELETE FROM sp_tenant_configuration WHERE conf_key='action.cleanup.enabled'; UPDATE sp_tenant_configuration SET conf_key='action.cleanup.auto.expiry' WHERE conf_key='action.cleanup.actionExpiry'; -UPDATE sp_tenant_configuration SET conf_key='action.cleanup.auto.expiry' WHERE conf_key='action.cleanup.auto.status'; +UPDATE sp_tenant_configuration SET conf_key='action.cleanup.auto.status' WHERE conf_key='action.cleanup.actionStatus'; UPDATE sp_tenant_configuration SET conf_key='actions.cleanup.onQuotaHit.percent' WHERE conf_key='action.cleanup.onQuotaHit.percent'; \ No newline at end of file diff --git a/hawkbit-repository/hawkbit-repository-jpa-flyway/src/main/resources/db/migration/MYSQL/V1_12_35__cleanup_prop_changes__MYSQL.sql b/hawkbit-repository/hawkbit-repository-jpa-flyway/src/main/resources/db/migration/MYSQL/V1_12_35__cleanup_prop_changes__MYSQL.sql index 12a8ade5c..37995ea60 100644 --- a/hawkbit-repository/hawkbit-repository-jpa-flyway/src/main/resources/db/migration/MYSQL/V1_12_35__cleanup_prop_changes__MYSQL.sql +++ b/hawkbit-repository/hawkbit-repository-jpa-flyway/src/main/resources/db/migration/MYSQL/V1_12_35__cleanup_prop_changes__MYSQL.sql @@ -1,4 +1,4 @@ DELETE FROM sp_tenant_configuration WHERE conf_key='action.cleanup.enabled'; UPDATE sp_tenant_configuration SET conf_key='action.cleanup.auto.expiry' WHERE conf_key='action.cleanup.actionExpiry'; -UPDATE sp_tenant_configuration SET conf_key='action.cleanup.auto.expiry' WHERE conf_key='action.cleanup.auto.status'; +UPDATE sp_tenant_configuration SET conf_key='action.cleanup.auto.status' WHERE conf_key='action.cleanup.actionStatus'; UPDATE sp_tenant_configuration SET conf_key='actions.cleanup.onQuotaHit.percent' WHERE conf_key='action.cleanup.onQuotaHit.percent'; \ No newline at end of file diff --git a/hawkbit-repository/hawkbit-repository-jpa-flyway/src/main/resources/db/migration/POSTGRESQL/V1_12_36__cleanup_prop_changes__POSTGRESQL.sql b/hawkbit-repository/hawkbit-repository-jpa-flyway/src/main/resources/db/migration/POSTGRESQL/V1_12_36__cleanup_prop_changes__POSTGRESQL.sql index 12a8ade5c..37995ea60 100644 --- a/hawkbit-repository/hawkbit-repository-jpa-flyway/src/main/resources/db/migration/POSTGRESQL/V1_12_36__cleanup_prop_changes__POSTGRESQL.sql +++ b/hawkbit-repository/hawkbit-repository-jpa-flyway/src/main/resources/db/migration/POSTGRESQL/V1_12_36__cleanup_prop_changes__POSTGRESQL.sql @@ -1,4 +1,4 @@ DELETE FROM sp_tenant_configuration WHERE conf_key='action.cleanup.enabled'; UPDATE sp_tenant_configuration SET conf_key='action.cleanup.auto.expiry' WHERE conf_key='action.cleanup.actionExpiry'; -UPDATE sp_tenant_configuration SET conf_key='action.cleanup.auto.expiry' WHERE conf_key='action.cleanup.auto.status'; +UPDATE sp_tenant_configuration SET conf_key='action.cleanup.auto.status' WHERE conf_key='action.cleanup.actionStatus'; UPDATE sp_tenant_configuration SET conf_key='actions.cleanup.onQuotaHit.percent' WHERE conf_key='action.cleanup.onQuotaHit.percent'; \ No newline at end of file