1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-13 03:04:27 +00:00

Merge pull request from angus-g/fixes/user-following-migration

Add default for NumFollowing field (fixes )
This commit is contained in:
Unknwon 2015-12-24 10:13:13 -05:00
commit 157d868254

@ -91,7 +91,7 @@ type User struct {
// Counters
NumFollowers int
NumFollowing int `xorm:"NOT NULL"`
NumFollowing int `xorm:"NOT NULL DEFAULT 0"`
NumStars int
NumRepos int