From 8937c9305a7d8693b5e3771439404238672913b1 Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Fri, 30 Dec 2022 14:40:21 -0600 Subject: [PATCH] SONAR-17833 Migration #6703 fails when coming from SonarQube 5.6 on MS SQL Server --- .../version/v98/DropProjectMeasureVariationColumn.java | 4 ++-- 1 file 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"; -- 2.39.5