warren830 commented on code in PR #3726:
URL:
https://github.com/apache/incubator-devlake/pull/3726#discussion_r1022369361
##########
models/domainlayer/code/commits_diff.go:
##########
@@ -17,15 +17,22 @@ limitations under the License.
package code
-type RefsCommitsDiff struct {
- NewRefId string `gorm:"primaryKey;type:varchar(255)"`
- OldRefId string `gorm:"primaryKey;type:varchar(255)"`
- CommitSha string `gorm:"primaryKey;type:varchar(40)"`
- NewRefCommitSha string `gorm:"type:varchar(40)"`
- OldRefCommitSha string `gorm:"type:varchar(40)"`
- SortingIndex int
+type CommitsDiff struct {
+ CommitSha string `gorm:"primaryKey;type:varchar(40)"`
+ NewCommitSha string `gorm:"primaryKey;type:varchar(40)"`
+ OldCommitSha string `gorm:"primaryKey;type:varchar(40)"`
+ SortingIndex int
Review Comment:
what is SortingIndex?
--
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]