]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-9881 complete the list of properties to be purged
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Thu, 5 Oct 2017 07:56:53 +0000 (09:56 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Sun, 8 Oct 2017 15:14:26 +0000 (17:14 +0200)
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v66/PurgeTableProperties.java

index 28e4dec494a4bf98843ee1eddf2a9f66dedbdc83..7c0c2dd8a9a0863387abff8d6ad74e36b1c4af37 100644 (file)
@@ -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.");