From a3f807106a1de10213d1167aac8f3915a1b3bd93 Mon Sep 17 00:00:00 2001
From: Lunny Xiao <xiaolunwen@gmail.com>
Date: Fri, 2 May 2014 08:18:44 +0800
Subject: [PATCH] add default for Action's IsPrivate

---
 models/action.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/models/action.go b/models/action.go
index 2fc8173443..aa3e3e83f2 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"`
 }