Add new view for report counts and invalidated status

Also drop site.version from the primary key.
This commit is contained in:
Eli Ribble 2026-03-12 15:27:36 +00:00
parent 9525363bc8
commit 32dcc50c94
No known key found for this signature in database
23 changed files with 1656 additions and 623 deletions

View file

@ -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