abeizn commented on code in PR #4369:
URL: 
https://github.com/apache/incubator-devlake/pull/4369#discussion_r1101220250


##########
backend/plugins/sonarqube/models/migrationscripts/archived/sonarqube_file_metrics.go:
##########
@@ -23,27 +23,27 @@ import (
 
 type SonarqubeFileMetrics struct {
        ConnectionId             uint64  `gorm:"primaryKey"`
-       FileMetricsKey           string  `json:"component_key" 
gorm:"primaryKey"`
-       ProjectKey               string  `json:"project" gorm:"index"`
-       BatchID                  string  `json:"batch_id"`
-       FileName                 string  `json:"file_name"`
-       FilePath                 string  `json:"file_path"`
-       FileLanguage             string  `json:"file_language"`
-       CodeSmells               int     `json:"code_smells"`
-       SqaleIndex               string  `json:"sqale_index"`
-       SqaleRating              string  `json:"sqale_rating"`
+       FileMetricsKey           string  `json:"componentKey" gorm:"primaryKey"`
+       ProjectKey               string  `json:"projectKey" gorm:"index"`
+       BatchID                  string  `json:"batchId"`
+       FileName                 string  `json:"fileName"`
+       FilePath                 string  `json:"filePath"`
+       FileLanguage             string  `json:"fileLanguage"`
+       CodeSmells               int     `json:"codeSmells"`
+       SqaleIndex               string  `json:"sqaleIndex"`
+       SqaleRating              string  `json:"sqaleRating"`

Review Comment:
   deleted



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to