mirror of
https://github.com/go-gitea/gitea
synced 2024-12-23 09:04:26 +00:00
Merge pull request #2262 from angus-g/fixes/user-following-migration
Add default for NumFollowing field (fixes #2261)
This commit is contained in:
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user