Skip to content

Commit 8189713

Browse files
committed
RHINENG-19230: remove Baseline from models
1 parent 1dd5924 commit 8189713

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

base/models/models.go

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,6 @@ func (Reporter) TableName() string {
2525
return "reporter"
2626
}
2727

28-
type Baseline struct {
29-
ID int64 `gorm:"primaryKey"`
30-
RhAccountID int `gorm:"primaryKey"`
31-
Name string
32-
Config []byte
33-
Description *string
34-
Creator *string // pointer for compatibility with previous API versions
35-
Published *time.Time
36-
LastEdited *time.Time
37-
}
38-
39-
func (Baseline) TableName() string {
40-
return "baseline"
41-
}
42-
4328
type Template struct {
4429
ID int64 `gorm:"primaryKey"`
4530
RhAccountID int `gorm:"primaryKey"`
@@ -87,8 +72,6 @@ type SystemPlatform struct {
8772
PackagesApplicable int
8873
ThirdParty bool
8974
ReporterID *int
90-
BaselineID *int64
91-
BaselineUpToDate *bool `gorm:"column:baseline_uptodate"`
9275
TemplateID *int64 `gorm:"column:template_id"`
9376
YumUpdates []byte `gorm:"column:yum_updates"`
9477
YumChecksum *string `gorm:"column:yum_checksum"`

0 commit comments

Comments
 (0)