Add district table for california districts.

This commit is contained in:
Eli Ribble 2026-01-13 19:47:19 +00:00
parent e6e8371742
commit 00fd676adc
No known key found for this signature in database
24 changed files with 4384 additions and 125 deletions

View file

@ -87,6 +87,24 @@ var PublicreportQuicks = Table[
Generated: false,
AutoIncr: false,
},
Address: column{
Name: "address",
DBType: "text",
Default: "",
Comment: "",
Nullable: false,
Generated: false,
AutoIncr: false,
},
Status: column{
Name: "status",
DBType: "publicreport.reportstatustype",
Default: "",
Comment: "",
Nullable: false,
Generated: false,
AutoIncr: false,
},
},
Indexes: publicreportQuickIndexes{
QuickPkey: index{
@ -150,11 +168,13 @@ type publicreportQuickColumns struct {
PublicID column
ReporterEmail column
ReporterPhone column
Address column
Status column
}
func (c publicreportQuickColumns) AsSlice() []column {
return []column{
c.ID, c.Created, c.Comments, c.Location, c.H3cell, c.PublicID, c.ReporterEmail, c.ReporterPhone,
c.ID, c.Created, c.Comments, c.Location, c.H3cell, c.PublicID, c.ReporterEmail, c.ReporterPhone, c.Address, c.Status,
}
}