From a4718d6858cc6e44080641cb1da4e8f5c9ee0762 Mon Sep 17 00:00:00 2001 From: lukasz-jarocki-sonarsource Date: Fri, 3 Nov 2023 14:54:02 +0100 Subject: SONAR-20892 Updated api/measures endpoints to return renamed metric --- .../platform/db/migration/version/v104/RenameWontFixIssuesMetric.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/sonar-db-migration/src') 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) { -- cgit v1.2.3