db: fix wrong column type of `login_source` (#6283)

# Conflicts:
#	CHANGELOG.md
pull/6378/head
ᴜɴᴋɴᴡᴏɴ 2020-08-27 14:29:03 +08:00
parent db037495de
commit d7a6bb8bcb
No known key found for this signature in database
GPG Key ID: B43718D76E30A238
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ type LoginSource struct {
IsActived bool `xorm:"NOT NULL DEFAULT false" gorm:"NOT NULL"` IsActived bool `xorm:"NOT NULL DEFAULT false" gorm:"NOT NULL"`
IsDefault bool `xorm:"DEFAULT false"` IsDefault bool `xorm:"DEFAULT false"`
Config interface{} `xorm:"-" gorm:"-"` Config interface{} `xorm:"-" gorm:"-"`
RawConfig string `xorm:"TEXT cfg" gorm:"COLUMN:cfg"` RawConfig string `xorm:"TEXT cfg" gorm:"COLUMN:cfg;TYPE:TEXT"`
Created time.Time `xorm:"-" gorm:"-" json:"-"` Created time.Time `xorm:"-" gorm:"-" json:"-"`
CreatedUnix int64 CreatedUnix int64