diff options
author | Guillaume Jambet <guillaume.jambet@sonarsource.com> | 2017-12-21 16:53:59 +0100 |
---|---|---|
committer | Stas Vilchik <stas.vilchik@sonarsource.com> | 2018-01-02 10:38:10 +0100 |
commit | 134d7c42c8f494ef8297762e82c397ab8377b4ee (patch) | |
tree | 7d2321ab2787582d4c78dbb013bc6fe54c0e0c9d /server/sonar-db-migration | |
parent | 40d56d9e35a29b0964fe9e1bf290ebe59729038e (diff) | |
download | sonarqube-134d7c42c8f494ef8297762e82c397ab8377b4ee.tar.gz sonarqube-134d7c42c8f494ef8297762e82c397ab8377b4ee.zip |
SONAR-10182 Rename homepage parameter from 'value' to 'parameter'
Diffstat (limited to 'server/sonar-db-migration')
3 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v70/AddHomepageToUsers.java b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v70/AddHomepageToUsers.java index b1c2d83da86..f3c1a71f862 100644 --- a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v70/AddHomepageToUsers.java +++ b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v70/AddHomepageToUsers.java @@ -42,7 +42,7 @@ public class AddHomepageToUsers extends DdlChange { .setLimit(40) .build()) .addColumn(newVarcharColumnDefBuilder() - .setColumnName("homepage_value") + .setColumnName("homepage_parameter") .setIsNullable(true) .setLimit(40) .build()) diff --git a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v70/DbVersion70.java b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v70/DbVersion70.java index 9a244e1d4c6..127d3f0e6c6 100644 --- a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v70/DbVersion70.java +++ b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v70/DbVersion70.java @@ -50,7 +50,7 @@ public class DbVersion70 implements DbVersion { .add(1920, "Read 'sonar.qualitygate' setting and set the value to default organization", ReadGlobalSonarQualityGateSettingToDefaultOrg.class) .add(1921, "Delete 'sonar.qualitygate' setting at global level", DeleteGlobalSonarQualityGateSetting.class) .add(1922, "Make ORGANIZATIONS.DEFAULT_QUALITY_GATE_UUID not nullable", SetDefaultQualityGateUuidAsNotNullableInOrganizations.class) - .add(1923, "Add users.homepage_type and users.homepage_value", AddHomepageToUsers.class) + .add(1923, "Add users.homepage_type and users.homepage_parameter", AddHomepageToUsers.class) ; } } diff --git a/server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v70/AddHomepageToUsersTest.java b/server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v70/AddHomepageToUsersTest.java index 5114bbd547e..db1e215fb80 100644 --- a/server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v70/AddHomepageToUsersTest.java +++ b/server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v70/AddHomepageToUsersTest.java @@ -46,7 +46,7 @@ public class AddHomepageToUsersTest { underTest.execute(); dbTester.assertColumnDefinition("users", "homepage_type", VARCHAR, 40, true); - dbTester.assertColumnDefinition("users", "homepage_value", VARCHAR, 40, true); + dbTester.assertColumnDefinition("users", "homepage_parameter", VARCHAR, 40, true); } @Test |