aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-migration
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2017-10-05 09:56:53 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2017-10-08 17:14:26 +0200
commit335d5b203c485072b12101c963bf99daf7a1c8a9 (patch)
tree8adfb94188fdd51db1020bb2b326749135001d9a /server/sonar-db-migration
parent6b3ff763eb594ea00e3d179104c624c946e77fae (diff)
downloadsonarqube-335d5b203c485072b12101c963bf99daf7a1c8a9.tar.gz
sonarqube-335d5b203c485072b12101c963bf99daf7a1c8a9.zip
SONAR-9881 complete the list of properties to be purged
Diffstat (limited to 'server/sonar-db-migration')
-rw-r--r--server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v66/PurgeTableProperties.java15
1 files 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.");