Browse Source

add default for Action's IsPrivate

for-closed-social
Lunny Xiao 10 years ago
parent
commit
a3f807106a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/action.go

+ 1
- 1
models/action.go View File

@ -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