mirror of
https://github.com/go-gitea/gitea
synced 2025-01-03 09:36:02 +01:00
Fix migration for user defined themes (#5682)
This commit is contained in:
parent
2b36bdd490
commit
9e9d1b8f95
@ -10,7 +10,7 @@ import (
|
|||||||
|
|
||||||
func addUserDefaultTheme(x *xorm.Engine) error {
|
func addUserDefaultTheme(x *xorm.Engine) error {
|
||||||
type User struct {
|
type User struct {
|
||||||
Theme string `xorm:"VARCHAR(30)"`
|
Theme string `xorm:"VARCHAR(30) NOT NULL DEFAULT ''"`
|
||||||
}
|
}
|
||||||
|
|
||||||
return x.Sync2(new(User))
|
return x.Sync2(new(User))
|
||||||
|
Loading…
Reference in New Issue
Block a user