mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-21 23:28:17 +00:00
Rename to pipeline
in DB and JSONs (#1296)
Closes #1282 Follow-up to #1224, addresses #745 - changes JSON fields - adds migration to rename columns - fixes some comments
This commit is contained in:
@@ -32,9 +32,9 @@ type State struct {
|
||||
type Info struct {
|
||||
ID string `json:"id"`
|
||||
Repo string `json:"repository"`
|
||||
Pipeline string `json:"build_number"`
|
||||
Started time.Time `json:"build_started"`
|
||||
Timeout time.Duration `json:"build_timeout"`
|
||||
Pipeline string `json:"pipeline_number"`
|
||||
Started time.Time `json:"pipeline_started"`
|
||||
Timeout time.Duration `json:"pipeline_timeout"`
|
||||
}
|
||||
|
||||
func (s *State) Add(id string, timeout time.Duration, repo, pipeline string) {
|
||||
|
Reference in New Issue
Block a user