Add insert timestamp to tag, jobtag

Fixes #43
This commit is contained in:
2023-06-27 09:41:06 +02:00
parent 60a3b653af
commit d1e3e06b10
8 changed files with 41 additions and 9 deletions

View File

@@ -124,9 +124,7 @@ type JobStatistics struct {
// Tag model
// @Description Defines a tag using name and type.
type Tag struct {
// The unique DB identifier of a tag
// The unique DB identifier of a tag
ID int64 `json:"id" db:"id"`
ID int64 `json:"id" db:"id"` // The unique DB identifier of a tag
Type string `json:"type" db:"tag_type" example:"Debug"` // Tag Type
Name string `json:"name" db:"tag_name" example:"Testjob"` // Tag Name
}