diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2019-10-25 10:57:25 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2019-11-06 10:04:30 +0100 |
commit | 6635d689c3912a6e80391881562a5b56e776c909 (patch) | |
tree | bed9382273f79356bc4b4341773cf83cd8f40f63 /server/sonar-db-migration | |
parent | 2c1855cfa890c5770919c5b517a24a10fed4e742 (diff) | |
download | sonarqube-6635d689c3912a6e80391881562a5b56e776c909.tar.gz sonarqube-6635d689c3912a6e80391881562a5b56e776c909.zip |
SONAR-12512 SONAR-12514 SONAR-12515 Increase ALM key from 80 to 200
Diffstat (limited to 'server/sonar-db-migration')
2 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v81/CreateAlmSettingsTable.java b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v81/CreateAlmSettingsTable.java index abdfd3188eb..5e383dc8104 100644 --- a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v81/CreateAlmSettingsTable.java +++ b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v81/CreateAlmSettingsTable.java @@ -39,7 +39,7 @@ public class CreateAlmSettingsTable extends DdlChange { private static final VarcharColumnDef KEY = newVarcharColumnDefBuilder() .setColumnName("kee") .setIsNullable(false) - .setLimit(40) + .setLimit(200) .build(); public CreateAlmSettingsTable(Database db) { diff --git a/server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v81/CreateAlmSettingsTableTest.java b/server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v81/CreateAlmSettingsTableTest.java index cd9114c28bf..8c0b6d15c71 100644 --- a/server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v81/CreateAlmSettingsTableTest.java +++ b/server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v81/CreateAlmSettingsTableTest.java @@ -50,6 +50,7 @@ public class CreateAlmSettingsTableTest { dbTester.assertUniqueIndex(TABLE_NAME, "uniq_alm_settings", "kee"); dbTester.assertColumnDefinition(TABLE_NAME, "uuid", VARCHAR, 40, false); + dbTester.assertColumnDefinition(TABLE_NAME, "kee", VARCHAR, 200, false); dbTester.assertColumnDefinition(TABLE_NAME, "alm_id", VARCHAR, 40, false); dbTester.assertColumnDefinition(TABLE_NAME, "url", VARCHAR, 2000, true); dbTester.assertColumnDefinition(TABLE_NAME, "app_id", VARCHAR, 80, true); |