Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wrong table name #30557

Merged
merged 15 commits into from
Apr 23, 2024
Prev Previous commit
Next Next commit
Fix the real problem
  • Loading branch information
lunny committed Apr 18, 2024
commit 437cca7f6f681be49a2b5e992ede15c6bf62aed4
2 changes: 1 addition & 1 deletion models/migrations/v1_18/v230.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ func AddConfidentialClientColumnToOAuth2ApplicationTable(x *xorm.Engine) error {
ConfidentialClient bool `xorm:"NOT NULL DEFAULT TRUE"`
}

return x.Sync(new(OAuth2Application))
return x.Table("oauth2_application").Sync(new(OAuth2Application))
lunny marked this conversation as resolved.
Show resolved Hide resolved
}