diff options
author | Unknwon <u@gogs.io> | 2015-12-10 12:48:45 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-12-10 12:48:45 -0500 |
commit | 0e96a46020564af8a0061ccea09893422a48cc26 (patch) | |
tree | 8b7e9fd55a1960b3d3df24a0fadc8a9621e2d450 | |
parent | df5ed64cca97919739ef20abf463fb3f211595fa (diff) | |
download | gitea-0e96a46020564af8a0061ccea09893422a48cc26.tar.gz gitea-0e96a46020564af8a0061ccea09893422a48cc26.zip |
fix user repo limit default value
-rw-r--r-- | models/user.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/user.go b/models/user.go index 6411bee6fd..2806ef64ed 100644 --- a/models/user.go +++ b/models/user.go @@ -76,7 +76,7 @@ type User struct { // Remember visibility choice for convenience, true for private LastRepoVisibility bool // Maximum repository creation limit, 0 means use gloabl default - MaxRepoCreation int `xorm:"NOT NULL"` + MaxRepoCreation int `xorm:"NOT NULL DEFAULT -1"` // Permissions. IsActive bool |