From 437cca7f6f681be49a2b5e992ede15c6bf62aed4 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 18 Apr 2024 16:39:21 +0800 Subject: [PATCH] Fix the real problem --- models/migrations/v1_18/v230.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/migrations/v1_18/v230.go b/models/migrations/v1_18/v230.go index cf94926be1..935916c0b4 100644 --- a/models/migrations/v1_18/v230.go +++ b/models/migrations/v1_18/v230.go @@ -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)) }