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 518f1bc9 fix: cached plan must not change result type (#2687)
518f1bc9 is described below

commit 518f1bc98194c8d7b6f55f6b4ad12ce2d434411f
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 7134fc76..019bb377 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 (*renameTasksToPlan) Up(ctx context.Context, db *gorm.DB) error {
+func (*blueprintNormalMode_Pipeline) 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