You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by wa...@apache.org on 2022/11/14 08:36:00 UTC

[incubator-devlake] branch main updated: fix(framework): modify table name for migrationscript (#3732)

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

warren pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new 2cbbb6640 fix(framework): modify table name for migrationscript (#3732)
2cbbb6640 is described below

commit 2cbbb6640189554bee50fb3af962372d09622441
Author: Warren Chen <yi...@merico.dev>
AuthorDate: Mon Nov 14 16:35:55 2022 +0800

    fix(framework): modify table name for migrationscript (#3732)
---
 models/migrationscripts/20220913_fix_commitfile_id_toolong.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/models/migrationscripts/20220913_fix_commitfile_id_toolong.go b/models/migrationscripts/20220913_fix_commitfile_id_toolong.go
index 7374d269b..533be6c51 100644
--- a/models/migrationscripts/20220913_fix_commitfile_id_toolong.go
+++ b/models/migrationscripts/20220913_fix_commitfile_id_toolong.go
@@ -77,7 +77,7 @@ func (script *fixCommitFileIdTooLong) Up(basicRes core.BasicRes) errors.Error {
 	return migrationhelper.TransformTable(
 		basicRes,
 		script,
-		"commit_files",
+		"commit_file_components",
 		func(s *commitFileComponent20220913) (*commitFileComponent20220913, errors.Error) {
 			// copy data
 			dst := commitFileComponent20220913(*s)