1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-28 13:49:13 -05:00

add default for Action's IsPrivate

This commit is contained in:
Lunny Xiao 2014-05-02 08:18:44 +08:00
parent 03c2468c2f
commit a3f807106a

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"`
}