From 335d5b203c485072b12101c963bf99daf7a1c8a9 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Thu, 5 Oct 2017 09:56:53 +0200 Subject: [PATCH] SONAR-9881 complete the list of properties to be purged --- .../version/v66/PurgeTableProperties.java | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v66/PurgeTableProperties.java b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v66/PurgeTableProperties.java index 28e4dec494a..7c0c2dd8a9a 100644 --- a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v66/PurgeTableProperties.java +++ b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v66/PurgeTableProperties.java @@ -33,14 +33,19 @@ public class PurgeTableProperties extends DataChange { protected void execute(Context context) throws SQLException { deleteByKey(context, "views.analysisDelayingInMinutes"); deleteByKey(context, "views.status"); - deleteByKey(context, "sonar.issuesdensity.weight"); - deleteByKey(context, "sonar.core.version"); - deleteByKeyPrefix(context, "sonar.reports."); - deleteByKeyPrefix(context, "sonar.report.license"); + deleteByKeyPrefix(context, "sonar.views.license"); + deleteByKeyPrefix(context, "views.license"); + deleteByKeyPrefix(context, "masterproject."); + deleteByKeyPrefix(context, "sonar.sqale."); deleteByKeyPrefix(context, "sqale.license"); deleteByKeyPrefix(context, "devcockpit."); - deleteByKeyPrefix(context, "masterproject."); + deleteByKeyPrefix(context, "sonar.devcockpit."); + + deleteByKey(context, "sonar.core.version"); + deleteByKey(context, "sonar.issuesdensity.weight"); + deleteByKeyPrefix(context, "sonar.reports."); + deleteByKeyPrefix(context, "sonar.report.license"); deleteByKeyPrefix(context, "sonar.natural."); deleteByKeyPrefix(context, "sonarsource.natural."); deleteByKeyPrefix(context, "sonarsource.identity."); -- 2.39.5