File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,21 +28,23 @@ type SystemGroups struct {
2828 Groups SystemGroupsList `json:"groups" csv:"groups" query:"ih.groups" gorm:"column:groups" order_query:"ih.groups->0->>'name'"`
2929}
3030
31+ // baseline attributes are obsoleted and we keep them only for backward API compatibility
32+ // now they always return default value
3133type BaselineAttributes struct {
3234 BaselineNameAttr
3335 BaselineUpToDateAttr
3436}
3537
3638type BaselineUpToDateAttr struct {
37- BaselineUpToDate * bool `json:"baseline_uptodate" csv:"baseline_uptodate" query:"sp.baseline_uptodate " gorm:"column:baseline_uptodate"`
39+ BaselineUpToDate * bool `json:"baseline_uptodate" csv:"baseline_uptodate" query:"null " gorm:"column:baseline_uptodate"`
3840}
3941
4042type BaselineNameAttr struct {
41- BaselineName string `json:"baseline_name" csv:"baseline_name" query:"bl.name " gorm:"column:baseline_name"`
43+ BaselineName string `json:"baseline_name" csv:"baseline_name" query:"'' " gorm:"column:baseline_name"`
4244}
4345
4446type BaselineIDAttr struct {
45- BaselineID int64 `json:"baseline_id" csv:"baseline_id" query:"bl.id " gorm:"column:baseline_id"`
47+ BaselineID int64 `json:"baseline_id" csv:"baseline_id" query:"0 " gorm:"column:baseline_id"`
4648}
4749
4850type TemplateAttibutes struct {
You can’t perform that action at this time.
0 commit comments