Initially made it through full update with new fieldseeker schema

This commit is contained in:
Eli Ribble 2025-12-05 23:11:57 +00:00
parent 0904f086b2
commit bd16f69e28
No known key found for this signature in database
510 changed files with 13617 additions and 14851 deletions

View file

@ -1,4 +1,4 @@
// Code generated by BobGen psql v0.42.0. DO NOT EDIT.
// Code generated by BobGen psql v0.0.3-0.20251202003046-49148fc66a73+dirty. DO NOT EDIT.
// This file is meant to be re-generated in place and/or deleted at any time.
package dbinfo
@ -393,6 +393,15 @@ var FieldseekerPolygonlocations = Table[
Generated: false,
AutoIncr: false,
},
Version: column{
Name: "version",
DBType: "integer",
Default: "1",
Comment: "Tracks version changes to the row. Increases when data is modified.",
Nullable: false,
Generated: false,
AutoIncr: false,
},
},
Indexes: fieldseekerPolygonlocationIndexes{
PolygonlocationPkey: index{
@ -404,10 +413,15 @@ var FieldseekerPolygonlocations = Table[
Desc: null.FromCond(false, true),
IsExpression: false,
},
{
Name: "version",
Desc: null.FromCond(false, true),
IsExpression: false,
},
},
Unique: true,
Comment: "",
NullsFirst: []bool{false},
NullsFirst: []bool{false, false},
NullsDistinct: false,
Where: "",
Include: []string{},
@ -415,7 +429,7 @@ var FieldseekerPolygonlocations = Table[
},
PrimaryKey: &constraint{
Name: "polygonlocation_pkey",
Columns: []string{"objectid"},
Columns: []string{"objectid", "version"},
Comment: "",
},
@ -465,11 +479,12 @@ type fieldseekerPolygonlocationColumns struct {
Jurisdiction column
ShapeArea column
ShapeLength column
Version column
}
func (c fieldseekerPolygonlocationColumns) AsSlice() []column {
return []column{
c.Objectid, c.Name, c.Zone, c.Habitat, c.Priority, c.Usetype, c.Active, c.Description, c.Accessdesc, c.Comments, c.Symbology, c.Externalid, c.Acres, c.Nextactiondatescheduled, c.Larvinspectinterval, c.Zone2, c.Locationnumber, c.Globalid, c.Lastinspectdate, c.Lastinspectbreeding, c.Lastinspectavglarvae, c.Lastinspectavgpupae, c.Lastinspectlstages, c.Lastinspectactiontaken, c.Lastinspectfieldspecies, c.Lasttreatdate, c.Lasttreatproduct, c.Lasttreatqty, c.Lasttreatqtyunit, c.Hectares, c.Lastinspectactivity, c.Lasttreatactivity, c.Lastinspectconditions, c.Waterorigin, c.Filter, c.Creationdate, c.Creator, c.Editdate, c.Editor, c.Jurisdiction, c.ShapeArea, c.ShapeLength,
c.Objectid, c.Name, c.Zone, c.Habitat, c.Priority, c.Usetype, c.Active, c.Description, c.Accessdesc, c.Comments, c.Symbology, c.Externalid, c.Acres, c.Nextactiondatescheduled, c.Larvinspectinterval, c.Zone2, c.Locationnumber, c.Globalid, c.Lastinspectdate, c.Lastinspectbreeding, c.Lastinspectavglarvae, c.Lastinspectavgpupae, c.Lastinspectlstages, c.Lastinspectactiontaken, c.Lastinspectfieldspecies, c.Lasttreatdate, c.Lasttreatproduct, c.Lasttreatqty, c.Lasttreatqtyunit, c.Hectares, c.Lastinspectactivity, c.Lasttreatactivity, c.Lastinspectconditions, c.Waterorigin, c.Filter, c.Creationdate, c.Creator, c.Editdate, c.Editor, c.Jurisdiction, c.ShapeArea, c.ShapeLength, c.Version,
}
}