aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-migration
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2019-02-11 15:24:15 +0100
committerSonarTech <sonartech@sonarsource.com>2019-02-11 20:20:55 +0100
commit0e9bd96a8a4a0bc46fce485066e02a6a192f18e1 (patch)
tree6770f7ca4b3b8ebe25d3cdb0dda1356beb3b872c /server/sonar-db-migration
parent232ce8639cd5fd83723d9b0d8808d83db4366e4a (diff)
downloadsonarqube-0e9bd96a8a4a0bc46fce485066e02a6a192f18e1.tar.gz
sonarqube-0e9bd96a8a4a0bc46fce485066e02a6a192f18e1.zip
SONAR-11631 add missing @SupportsBlueGreen on DB migration
Diffstat (limited to 'server/sonar-db-migration')
-rw-r--r--server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v77/AddProjectVersionToSnapshot.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v77/AddProjectVersionToSnapshot.java b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v77/AddProjectVersionToSnapshot.java
index 8849444ddc0..3f53783f037 100644
--- a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v77/AddProjectVersionToSnapshot.java
+++ b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v77/AddProjectVersionToSnapshot.java
@@ -21,12 +21,14 @@ package org.sonar.server.platform.db.migration.version.v77;
import java.sql.SQLException;
import org.sonar.db.Database;
+import org.sonar.server.platform.db.migration.SupportsBlueGreen;
import org.sonar.server.platform.db.migration.def.VarcharColumnDef;
import org.sonar.server.platform.db.migration.sql.AddColumnsBuilder;
import org.sonar.server.platform.db.migration.step.DdlChange;
import static org.sonar.server.platform.db.migration.def.VarcharColumnDef.newVarcharColumnDefBuilder;
+@SupportsBlueGreen
public class AddProjectVersionToSnapshot extends DdlChange {
private static final String TABLE_NAME = "snapshots";
private static final VarcharColumnDef COLUMN_PROJECT_VERSION = newVarcharColumnDefBuilder()