mirror of
https://github.com/go-gitea/gitea
synced 2025-11-03 21:08:25 +00:00
Add migration
This commit is contained in:
@@ -10,6 +10,7 @@ import (
|
||||
// AddConfidentialColumnToOAuth2ApplicationTable: add ConfidentialClient column, setting existing rows to true
|
||||
func AddConfidentialClientColumnToOAuth2ApplicationTable(x *xorm.Engine) error {
|
||||
type OAuth2Application struct {
|
||||
ID int64
|
||||
ConfidentialClient bool `xorm:"NOT NULL DEFAULT TRUE"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user