You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "klesh (via GitHub)" <gi...@apache.org> on 2023/08/16 09:43:39 UTC

[GitHub] [incubator-devlake] klesh commented on a diff in pull request #5893: fix: issue relationships struct

klesh commented on code in PR #5893:
URL: https://github.com/apache/incubator-devlake/pull/5893#discussion_r1295645338


##########
backend/core/models/migrationscripts/archived/issue_relationship.go:
##########
@@ -18,11 +18,10 @@ limitations under the License.
 package archived
 
 type IssueRelationship struct {
-	DomainEntity
-
-	SourceIssueId uint64 `gorm:"index"`
-	TargetIssueId uint64
+	SourceIssueId string `gorm:"primaryKey;type:varchar(255);index"`
+	TargetIssueId string `gorm:"primaryKey;type:varchar(255)"`
 	OriginalType  string `gorm:"type:varchar(255)"`
+	NoPKModel

Review Comment:
   should be a of the pk



-- 
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: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org