aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2022-12-30 14:40:21 -0600
committersonartech <sonartech@sonarsource.com>2023-01-02 20:03:11 +0000
commit8937c9305a7d8693b5e3771439404238672913b1 (patch)
treeeae4112f2be0ba52b02a5b26caf14400e4392c9e
parentc301d9537dfa78c1a231c4f748f1d5b7bf2a42e6 (diff)
downloadsonarqube-8937c9305a7d8693b5e3771439404238672913b1.tar.gz
sonarqube-8937c9305a7d8693b5e3771439404238672913b1.zip
SONAR-17833 Migration #6703 fails when coming from SonarQube 5.6 on MS SQL Server
-rw-r--r--server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v98/DropProjectMeasureVariationColumn.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v98/DropProjectMeasureVariationColumn.java b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v98/DropProjectMeasureVariationColumn.java
index b300a2641bc..9d0bbe1df8f 100644
--- a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v98/DropProjectMeasureVariationColumn.java
+++ b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v98/DropProjectMeasureVariationColumn.java
@@ -21,9 +21,9 @@ package org.sonar.server.platform.db.migration.version.v98;
import org.sonar.db.Database;
import org.sonar.server.platform.db.migration.step.DropColumnChange;
+import org.sonar.server.platform.db.migration.step.DropColumnWithConstraint;
-public class DropProjectMeasureVariationColumn extends DropColumnChange {
-
+public class DropProjectMeasureVariationColumn extends DropColumnWithConstraint {
public static final String TABLE_NAME = "project_measures";
public static final String COLUMN_NAME = "variation_value_1";