]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7700 Fix column size of b_qualifier
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 13 Jul 2016 08:48:20 +0000 (10:48 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 13 Jul 2016 08:48:20 +0000 (10:48 +0200)
sonar-db/src/main/java/org/sonar/db/version/v60/AddBColumnsToProjects.java
sonar-db/src/test/java/org/sonar/db/version/v60/AddBColumnsToProjectsTest.java

index 630a776faf24b482f2e4a0a3106ef7c4cacc1942..00ee9fd24b273114129927c85feafff019f4235a 100644 (file)
@@ -48,7 +48,7 @@ public class AddBColumnsToProjects extends DdlChange {
       .addColumn(newVarcharColumnDefBuilder().setColumnName("b_module_uuid_path").setLimit(1500).setIsNullable(true).build())
       .addColumn(newVarcharColumnDefBuilder().setColumnName("b_name").setLimit(500).setIsNullable(true).build())
       .addColumn(newVarcharColumnDefBuilder().setColumnName("b_path").setLimit(2000).setIsNullable(true).build())
-      .addColumn(newVarcharColumnDefBuilder().setColumnName("b_qualifier").setLimit(3).setIsNullable(true).build())
+      .addColumn(newVarcharColumnDefBuilder().setColumnName("b_qualifier").setLimit(10).setIsNullable(true).build())
       .build());
   }
 
index bb4cd65bf5b5c4ecfd704b1064ac901e870aad57..835582cfbfa366df795b4b681e4a483623aeeaff 100644 (file)
@@ -86,6 +86,6 @@ public class AddBColumnsToProjectsTest {
     db.assertColumnDefinition(TABLE, "b_module_uuid_path", Types.VARCHAR, 1500, true);
     db.assertColumnDefinition(TABLE, "b_name", Types.VARCHAR, 500, true);
     db.assertColumnDefinition(TABLE, "b_path", Types.VARCHAR, 2000, true);
-    db.assertColumnDefinition(TABLE, "b_qualifier", Types.VARCHAR, 3, true);
+    db.assertColumnDefinition(TABLE, "b_qualifier", Types.VARCHAR, 10, true);
   }
 }