This is an automated email from the ASF dual-hosted git repository.

abeizn pushed a commit to branch release-v0.12
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/release-v0.12 by this push:
     new 31301ed2 fix: cached plan must not change result type (#2687)
31301ed2 is described below

commit 31301ed2c09e7f28ab9cbfec859d135fa804509a
Author: abeizn <[email protected]>
AuthorDate: Fri Aug 5 13:11:08 2022 +0800

    fix: cached plan must not change result type (#2687)
---
 models/migrationscripts/220622-blueprint-normal-mode.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/models/migrationscripts/220622-blueprint-normal-mode.go 
b/models/migrationscripts/220622-blueprint-normal-mode.go
index 019bb377..067394f5 100644
--- a/models/migrationscripts/220622-blueprint-normal-mode.go
+++ b/models/migrationscripts/220622-blueprint-normal-mode.go
@@ -44,7 +44,7 @@ func (blueprintNormalMode_Pipeline) TableName() string {
 // migration script
 type blueprintNormalMode struct{}
 
-func (*blueprintNormalMode_Pipeline) Up(ctx context.Context, db *gorm.DB) 
error {
+func (*blueprintNormalMode) Up(ctx context.Context, db *gorm.DB) error {
        err := db.Migrator().RenameColumn(&blueprintNormalMode_Blueprint{}, 
"tasks", "plan")
        if err != nil {
                return err

Reply via email to