klesh commented on code in PR #5323:
URL:
https://github.com/apache/incubator-devlake/pull/5323#discussion_r1212522451
##########
backend/plugins/zentao/models/migrationscripts/20221121_add_init_tables.go:
##########
@@ -57,11 +58,12 @@ func (*addInitTables) Up(basicRes context.BasicRes)
errors.Error {
&archived.ZentaoTask{},
&archived.ZentaoAccount{},
&archived.ZentaoDepartment{},
+ &archived.ZentaoScopeConfig{},
)
}
func (*addInitTables) Version() uint64 {
- return 20230505000001
+ return 20230530000001
Review Comment:
We should create a new migration script for adding new tables.
adding a new tables to an existing script is not a good practice
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]