mirror of
https://gitee.com/gitea/gitea
synced 2025-12-24 17:26:35 +08:00
Remember diff view style (#163)
This commit is contained in:
committed by
Lunny Xiao
parent
bd76e156bb
commit
739f07c98e
@@ -22,3 +22,15 @@ func setCommentUpdatedWithCreated(x *xorm.Engine) (err error) {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type UserV14 struct {
|
||||
DiffViewStyle string `xorm:"NOT NULL DEFAULT ''"`
|
||||
}
|
||||
|
||||
func (*UserV14) TableName() string {
|
||||
return "user"
|
||||
}
|
||||
|
||||
func createUserColumnDiffViewStyle(x *xorm.Engine) error {
|
||||
return x.Sync2(new(UserV14))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user