This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
gitea
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Fix migration for user defined themes (
#5682
)
for-closed-social
Lanre Adelowo
5 years ago
committed by
techknowlogick
parent
2b36bdd490
commit
9e9d1b8f95
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
models/migrations/v77.go
+ 1
- 1
models/migrations/v77.go
View File
@ -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
)
)
Write
Preview
Loading…
Cancel
Save