Browse Source

Fix migration for user defined themes (#5682)

tags/v1.9.0-dev
Lanre Adelowo 6 years ago committed by techknowlogick
parent
commit
9e9d1b8f95
  1. 2
      models/migrations/v77.go

2
models/migrations/v77.go

@ -10,7 +10,7 @@ import (
func addUserDefaultTheme(x *xorm.Engine) error {
type User struct {
Theme string `xorm:"VARCHAR(30)"`
Theme string `xorm:"VARCHAR(30) NOT NULL DEFAULT ''"`
}
return x.Sync2(new(User))

Loading…
Cancel
Save