Semaphore/db/Schedule.go

11 lines
388 B
Go
Raw Permalink Normal View History

2021-09-06 13:05:10 +02:00
package db
type Schedule struct {
2022-01-16 21:14:44 +01:00
ID int `db:"id" json:"id"`
ProjectID int `db:"project_id" json:"project_id"`
TemplateID int `db:"template_id" json:"template_id"`
CronFormat string `db:"cron_format" json:"cron_format"`
RepositoryID *int `db:"repository_id" json:"repository_id"`
LastCommitHash *string `db:"last_commit_hash" json:"-"`
2021-09-06 13:05:10 +02:00
}