likyh commented on code in PR #2424:
URL: https://github.com/apache/incubator-devlake/pull/2424#discussion_r915594865
##########
plugins/github/models/migrationscripts/init_schema_20220615.go:
##########
@@ -68,7 +69,7 @@ func (u *initSchemas) Up(ctx context.Context, db *gorm.DB)
error {
&archived.GithubIssueComment{},
&archived.GithubIssueEvent{},
&archived.GithubIssueLabel{},
- &archived.GithubUser{},
+ &archived.GithubAccount{},
Review Comment:
Or change the version for it at least. And it should drop old table
`GithubUser` here.
##########
plugins/github/models/migrationscripts/init_schema_20220615.go:
##########
@@ -68,7 +69,7 @@ func (u *initSchemas) Up(ctx context.Context, db *gorm.DB)
error {
&archived.GithubIssueComment{},
&archived.GithubIssueEvent{},
&archived.GithubIssueLabel{},
- &archived.GithubUser{},
+ &archived.GithubAccount{},
Review Comment:
Or change the version for it at least. And it should drop the old table
`GithubUser` here.
--
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]