Add DB model for publicreport logs
It's just way easier to track that deriving the data every time an API request is made.
This commit is contained in:
parent
1e071d5ce5
commit
1d2570c912
14 changed files with 2326 additions and 140 deletions
|
|
@ -104,6 +104,7 @@ func Where[Q psql.Filterable]() struct {
|
|||
PublicreportReports publicreportReportWhere[Q]
|
||||
PublicreportReportImages publicreportReportImageWhere[Q]
|
||||
PublicreportReportLocations publicreportReportLocationWhere[Q]
|
||||
PublicreportReportLogs publicreportReportLogWhere[Q]
|
||||
PublicreportSubscribeEmails publicreportSubscribeEmailWhere[Q]
|
||||
PublicreportSubscribePhones publicreportSubscribePhoneWhere[Q]
|
||||
PublicreportWaters publicreportWaterWhere[Q]
|
||||
|
|
@ -210,6 +211,7 @@ func Where[Q psql.Filterable]() struct {
|
|||
PublicreportReports publicreportReportWhere[Q]
|
||||
PublicreportReportImages publicreportReportImageWhere[Q]
|
||||
PublicreportReportLocations publicreportReportLocationWhere[Q]
|
||||
PublicreportReportLogs publicreportReportLogWhere[Q]
|
||||
PublicreportSubscribeEmails publicreportSubscribeEmailWhere[Q]
|
||||
PublicreportSubscribePhones publicreportSubscribePhoneWhere[Q]
|
||||
PublicreportWaters publicreportWaterWhere[Q]
|
||||
|
|
@ -315,6 +317,7 @@ func Where[Q psql.Filterable]() struct {
|
|||
PublicreportReports: buildPublicreportReportWhere[Q](PublicreportReports.Columns),
|
||||
PublicreportReportImages: buildPublicreportReportImageWhere[Q](PublicreportReportImages.Columns),
|
||||
PublicreportReportLocations: buildPublicreportReportLocationWhere[Q](PublicreportReportLocations.Columns),
|
||||
PublicreportReportLogs: buildPublicreportReportLogWhere[Q](PublicreportReportLogs.Columns),
|
||||
PublicreportSubscribeEmails: buildPublicreportSubscribeEmailWhere[Q](PublicreportSubscribeEmails.Columns),
|
||||
PublicreportSubscribePhones: buildPublicreportSubscribePhoneWhere[Q](PublicreportSubscribePhones.Columns),
|
||||
PublicreportWaters: buildPublicreportWaterWhere[Q](PublicreportWaters.Columns),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue