diff options
author | Lanre Adelowo <adelowomailbox@gmail.com> | 2019-01-12 20:43:47 +0100 |
---|---|---|
committer | techknowlogick <hello@techknowlogick.com> | 2019-01-12 14:43:47 -0500 |
commit | 9e9d1b8f951c0c87af6bed71340b92ee22f5bb3b (patch) | |
tree | 00cfcf1d43d475551b383c94f9affcda8756b088 | |
parent | 2b36bdd4902aa7ee93e15eee961d6a8a4a26e81c (diff) | |
download | gitea-9e9d1b8f951c0c87af6bed71340b92ee22f5bb3b.tar.gz gitea-9e9d1b8f951c0c87af6bed71340b92ee22f5bb3b.zip |
Fix migration for user defined themes (#5682)
-rw-r--r-- | models/migrations/v77.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v77.go b/models/migrations/v77.go index 12e7456642..c564d4cf54 100644 --- a/models/migrations/v77.go +++ b/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)) |