Explorar el Código

Fix migration for user defined themes (#5682)

tags/v1.9.0-dev
Lanre Adelowo hace 5 años
padre
commit
9e9d1b8f95
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      models/migrations/v77.go

+ 1
- 1
models/migrations/v77.go Ver fichero

@@ -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))

Cargando…
Cancelar
Guardar