Add new view for report counts and invalidated status
Also drop site.version from the primary key.
This commit is contained in:
parent
9525363bc8
commit
32dcc50c94
23 changed files with 1656 additions and 623 deletions
|
|
@ -1868,10 +1868,11 @@ func (e *PublicreportPoolsourceduration) Scan(value any) error {
|
|||
|
||||
// Enum values for PublicreportReportstatustype
|
||||
const (
|
||||
PublicreportReportstatustypeReported PublicreportReportstatustype = "reported"
|
||||
PublicreportReportstatustypeReviewed PublicreportReportstatustype = "reviewed"
|
||||
PublicreportReportstatustypeScheduled PublicreportReportstatustype = "scheduled"
|
||||
PublicreportReportstatustypeTreated PublicreportReportstatustype = "treated"
|
||||
PublicreportReportstatustypeReported PublicreportReportstatustype = "reported"
|
||||
PublicreportReportstatustypeReviewed PublicreportReportstatustype = "reviewed"
|
||||
PublicreportReportstatustypeScheduled PublicreportReportstatustype = "scheduled"
|
||||
PublicreportReportstatustypeTreated PublicreportReportstatustype = "treated"
|
||||
PublicreportReportstatustypeInvalidated PublicreportReportstatustype = "invalidated"
|
||||
)
|
||||
|
||||
func AllPublicreportReportstatustype() []PublicreportReportstatustype {
|
||||
|
|
@ -1880,6 +1881,7 @@ func AllPublicreportReportstatustype() []PublicreportReportstatustype {
|
|||
PublicreportReportstatustypeReviewed,
|
||||
PublicreportReportstatustypeScheduled,
|
||||
PublicreportReportstatustypeTreated,
|
||||
PublicreportReportstatustypeInvalidated,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1894,7 +1896,8 @@ func (e PublicreportReportstatustype) Valid() bool {
|
|||
case PublicreportReportstatustypeReported,
|
||||
PublicreportReportstatustypeReviewed,
|
||||
PublicreportReportstatustypeScheduled,
|
||||
PublicreportReportstatustypeTreated:
|
||||
PublicreportReportstatustypeTreated,
|
||||
PublicreportReportstatustypeInvalidated:
|
||||
return true
|
||||
default:
|
||||
return false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue