aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--models/action.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/action.go b/models/action.go
index 2fc81734..aa3e3e83 100644
--- a/models/action.go
+++ b/models/action.go
@@ -40,7 +40,7 @@ type Action struct {
RepoId int64
RepoName string
RefName string
- IsPrivate bool `xorm:"not null"`
+ IsPrivate bool `xorm:"not null default false"`
Content string `xorm:"TEXT"`
Created time.Time `xorm:"created"`
}