diff options
author | lukasz-jarocki-sonarsource <lukasz.jarocki@sonarsource.com> | 2023-11-03 14:54:02 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-11-08 20:02:52 +0000 |
commit | a4718d6858cc6e44080641cb1da4e8f5c9ee0762 (patch) | |
tree | d5bb8099dd7b17b949ede5653fd88bece45612b4 /server/sonar-db-migration/src | |
parent | 5e1db2ab6fb799e34d8c83191253f1f9b02da58e (diff) | |
download | sonarqube-a4718d6858cc6e44080641cb1da4e8f5c9ee0762.tar.gz sonarqube-a4718d6858cc6e44080641cb1da4e8f5c9ee0762.zip |
SONAR-20892 Updated api/measures endpoints to return renamed metric
Diffstat (limited to 'server/sonar-db-migration/src')
-rw-r--r-- | server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v104/RenameWontFixIssuesMetric.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v104/RenameWontFixIssuesMetric.java b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v104/RenameWontFixIssuesMetric.java index 5f35d1caadf..ea025607fd4 100644 --- a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v104/RenameWontFixIssuesMetric.java +++ b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v104/RenameWontFixIssuesMetric.java @@ -27,7 +27,7 @@ import org.sonar.server.platform.db.migration.step.Upsert; public class RenameWontFixIssuesMetric extends DataChange { private static final String UPDATE_QUERY = """ - update metrics set name='accepted_issues', description='Accepted issues' where name='wont_fix_issues' + update metrics set name='accepted_issues', description='Accepted issues', short_name='Accepted issues' where name='wont_fix_issues' """; public RenameWontFixIssuesMetric(Database db) { |