You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by kl...@apache.org on 2023/06/28 10:25:32 UTC
[incubator-devlake] branch release-v0.17 updated: Fix the migration for the introduction of the squash and diff columns (#5591)
This is an automated email from the ASF dual-hosted git repository.
klesh pushed a commit to branch release-v0.17
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/release-v0.17 by this push:
new 5572b7592 Fix the migration for the introduction of the squash and diff columns (#5591)
5572b7592 is described below
commit 5572b7592e88b39df9b8ff85e5e2b2604db8fd9c
Author: dantleech <da...@gmail.com>
AuthorDate: Wed Jun 28 11:25:27 2023 +0100
Fix the migration for the introduction of the squash and diff columns (#5591)
---
.../gitlab/models/migrationscripts/20230625_add_mr_commitsha.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/backend/plugins/gitlab/models/migrationscripts/20230625_add_mr_commitsha.go b/backend/plugins/gitlab/models/migrationscripts/20230625_add_mr_commitsha.go
index 8fd9dd69e..21c9335b8 100644
--- a/backend/plugins/gitlab/models/migrationscripts/20230625_add_mr_commitsha.go
+++ b/backend/plugins/gitlab/models/migrationscripts/20230625_add_mr_commitsha.go
@@ -26,7 +26,7 @@ import (
type addMrCommitSha struct{}
type GitlabMergeRequest20230625 struct {
- MergeCommitSha string `gorm:"type:varchar(255)"`
+ DiffHeadSha string `gorm:"type:varchar(255)"`
SquashCommitSha string `gorm:"type:varchar(255)"`
}
@@ -51,5 +51,5 @@ func (*addMrCommitSha) Version() uint64 {
}
func (*addMrCommitSha) Name() string {
- return "add _tool_gitlab_issue_assignees table"
+ return "add squash and diff sha columns"
}