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 2023/02/02 10:31:45 UTC

[incubator-devlake] branch hexun-tapd updated: fix(tapd): keep old schemas (#4300)

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

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


The following commit(s) were added to refs/heads/hexun-tapd by this push:
     new ee9900fd6 fix(tapd): keep old schemas (#4300)
ee9900fd6 is described below

commit ee9900fd671d592ebaa70eaa7efc090637220107
Author: Warren Chen <yi...@merico.dev>
AuthorDate: Thu Feb 2 18:31:40 2023 +0800

    fix(tapd): keep old schemas (#4300)
---
 .../migrationscripts/20221109_add_init_tables.go   | 36 ----------------------
 1 file changed, 36 deletions(-)

diff --git a/plugins/tapd/models/migrationscripts/20221109_add_init_tables.go b/plugins/tapd/models/migrationscripts/20221109_add_init_tables.go
index a03db98f0..093cadc51 100644
--- a/plugins/tapd/models/migrationscripts/20221109_add_init_tables.go
+++ b/plugins/tapd/models/migrationscripts/20221109_add_init_tables.go
@@ -52,42 +52,6 @@ func (*addInitTables) Up(basicRes core.BasicRes) errors.Error {
 		"_raw_tapd_api_workitem_types",
 		"_raw_tapd_api_sub_workspaces",
 		"_tool_tapd_users",
-		&archived.TapdWorkspace{},
-		&archived.TapdSubWorkspace{},
-		&archived.TapdWorklog{},
-		&archived.TapdWorkspaceIteration{},
-		&archived.TapdBugChangelog{},
-		&archived.TapdBugChangelogItem{},
-		&archived.TapdStoryChangelog{},
-		&archived.TapdStoryChangelogItem{},
-		&archived.TapdTaskChangelog{},
-		&archived.TapdTaskChangelogItem{},
-		&archived.TapdIssue{},
-		&archived.TapdIteration{},
-		&archived.TapdConnection{},
-		&archived.TapdBug{},
-		&archived.TapdStory{},
-		&archived.TapdTask{},
-		&archived.TapdTaskLabel{},
-		&archived.TapdBugLabel{},
-		&archived.TapdStoryLabel{},
-		&archived.TapdBugStatus{},
-		&archived.TapdStoryStatus{},
-		&archived.TapdBugCommit{},
-		&archived.TapdStoryCommit{},
-		&archived.TapdTaskCommit{},
-		&archived.TapdWorkSpaceBug{},
-		&archived.TapdWorkSpaceStory{},
-		&archived.TapdWorkSpaceTask{},
-		&archived.TapdIterationBug{},
-		&archived.TapdIterationStory{},
-		&archived.TapdIterationTask{},
-		&archived.TapdStoryCustomFields{},
-		&archived.TapdBugCustomFields{},
-		&archived.TapdTaskCustomFields{},
-		&archived.TapdStoryCategory{},
-		&archived.TapdStoryBug{},
-		&archived.TapdWorkitemType{},
 	)
 	if err != nil {
 		return err