forked from NYANDEV/forgejo
add default for Action's IsPrivate
This commit is contained in:
parent
03c2468c2f
commit
a3f807106a
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ type Action struct {
|
||||||
RepoId int64
|
RepoId int64
|
||||||
RepoName string
|
RepoName string
|
||||||
RefName string
|
RefName string
|
||||||
IsPrivate bool `xorm:"not null"`
|
IsPrivate bool `xorm:"not null default false"`
|
||||||
Content string `xorm:"TEXT"`
|
Content string `xorm:"TEXT"`
|
||||||
Created time.Time `xorm:"created"`
|
Created time.Time `xorm:"created"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue