add default for Action's IsPrivate

tokarchuk/v1.17
Lunny Xiao 11 years ago
parent 03c2468c2f
commit a3f807106a
  1. 2
      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"`
}

Loading…
Cancel
Save