mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-09-08 00:03:28 +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
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ type User struct {
|
||||||
|
|
||||||
// Counters
|
// Counters
|
||||||
NumFollowers int
|
NumFollowers int
|
||||||
NumFollowing int `xorm:"NOT NULL"`
|
NumFollowing int `xorm:"NOT NULL DEFAULT 0"`
|
||||||
NumStars int
|
NumStars int
|
||||||
NumRepos int
|
NumRepos int
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue