]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7493 Add migration in pico
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 13 May 2016 12:18:44 +0000 (14:18 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 13 May 2016 12:22:07 +0000 (14:22 +0200)
sonar-db/src/main/java/org/sonar/db/version/MigrationStepModule.java
sonar-db/src/test/java/org/sonar/db/version/MigrationStepModuleTest.java

index 5d462792e4b5d67dbe30ae550807c3f762070851..2dcaea78e4ce26ebd9fb9faa199b14f58d46d4ad 100644 (file)
@@ -81,6 +81,7 @@ import org.sonar.db.version.v55.FeedActiveRulesLongDateColumns;
 import org.sonar.db.version.v55.FeedIssueTypes;
 import org.sonar.db.version.v55.FeedRulesLongDateColumns;
 import org.sonar.db.version.v55.FeedRulesTypes;
+import org.sonar.db.version.v56.FixLengthOfIssuesMessageOnOracle;
 import org.sonar.db.version.v56.FixTypeOfRuleTypeOnMysql;
 
 public class MigrationStepModule extends Module {
@@ -163,6 +164,7 @@ public class MigrationStepModule extends Module {
       DeleteManualRules.class,
 
       // 5.6
-      FixTypeOfRuleTypeOnMysql.class);
+      FixTypeOfRuleTypeOnMysql.class,
+      FixLengthOfIssuesMessageOnOracle.class);
   }
 }
index 20c4b0d35370fb64aba1c0faf0dc26619328410b..91bda96d3de5462b16882e5d320df004b6661097 100644 (file)
@@ -29,6 +29,6 @@ public class MigrationStepModuleTest {
   public void verify_count_of_added_MigrationStep_types() {
     ComponentContainer container = new ComponentContainer();
     new MigrationStepModule().configure(container);
-    assertThat(container.size()).isEqualTo(64);
+    assertThat(container.size()).isEqualTo(65);
   }
 }