Remove old FieldSeeker tables, use v2 generated tables.
This requires a bunch of changes since the types on these tables are much closer to the underlying types of the Fieldseeker data we are getting back from the API. I now need to use proper UUID types everywhere, which means I had to modify the bob gen config to consistently use google UUID, my UUID library of choice. I also had to add the organization_id to all the fieldseeker tables since we rely on them existing for some of our compound queries. There were some changes to the API type signatures to get things to build. I may yet regret those.
This commit is contained in:
parent
58f5afccc9
commit
1395e3d3ac
445 changed files with 54077 additions and 275856 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// Code generated by BobGen psql v0.0.3-0.20251202003046-49148fc66a73+dirty. DO NOT EDIT.
|
||||
// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT.
|
||||
// This file is meant to be re-generated in place and/or deleted at any time.
|
||||
|
||||
package dbinfo
|
||||
|
|
@ -28,16 +28,16 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "recdatetime",
|
||||
DBType: "timestamp without time zone",
|
||||
Default: "NULL",
|
||||
Comment: "Received",
|
||||
Comment: "Original attribute from ArcGIS API is RECDATETIME",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
Source: column{
|
||||
Name: "source",
|
||||
DBType: "fieldseeker.servicerequest_servicerequestsource_enum",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Source",
|
||||
Comment: "Original attribute from ArcGIS API is SOURCE",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -46,52 +46,52 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "entrytech",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Entered By",
|
||||
Comment: "Original attribute from ArcGIS API is ENTRYTECH",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
Priority: column{
|
||||
Name: "priority",
|
||||
DBType: "fieldseeker.servicerequest_servicerequestpriority_enum",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Priority",
|
||||
Comment: "Original attribute from ArcGIS API is PRIORITY",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
Supervisor: column{
|
||||
Name: "supervisor",
|
||||
DBType: "fieldseeker.servicerequest_servicerequest_supervisor_eba07b90_c885_4fe6_808",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Supervisor",
|
||||
Comment: "Original attribute from ArcGIS API is SUPERVISOR",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
Assignedtech: column{
|
||||
Name: "assignedtech",
|
||||
DBType: "fieldseeker.servicerequest_servicerequest_assignedtech_71d0d685_868f_4b7a_8",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Assigned To",
|
||||
Comment: "Original attribute from ArcGIS API is ASSIGNEDTECH",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
Status: column{
|
||||
Name: "status",
|
||||
DBType: "fieldseeker.servicerequest_servicerequeststatus_enum",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Status",
|
||||
Comment: "Original attribute from ArcGIS API is STATUS",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
Clranon: column{
|
||||
Name: "clranon",
|
||||
DBType: "fieldseeker.servicerequest_notinuit_f_enum",
|
||||
DBType: "smallint",
|
||||
Default: "NULL",
|
||||
Comment: "Anonymous Caller",
|
||||
Comment: "Original attribute from ArcGIS API is CLRANON",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -100,7 +100,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "clrfname",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Caller Name",
|
||||
Comment: "Original attribute from ArcGIS API is CLRFNAME",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -109,7 +109,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "clrphone1",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Caller Phone",
|
||||
Comment: "Original attribute from ArcGIS API is CLRPHONE1",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -118,7 +118,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "clrphone2",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Caller Alternate Phone",
|
||||
Comment: "Original attribute from ArcGIS API is CLRPHONE2",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -127,7 +127,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "clremail",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Caller Email",
|
||||
Comment: "Original attribute from ArcGIS API is CLREMAIL",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -136,7 +136,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "clrcompany",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Caller Company",
|
||||
Comment: "Original attribute from ArcGIS API is CLRCOMPANY",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -145,7 +145,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "clraddr1",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Caller Address",
|
||||
Comment: "Original attribute from ArcGIS API is CLRADDR1",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -154,7 +154,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "clraddr2",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Caller Address 2",
|
||||
Comment: "Original attribute from ArcGIS API is CLRADDR2",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -163,16 +163,16 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "clrcity",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Caller City",
|
||||
Comment: "Original attribute from ArcGIS API is CLRCITY",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
Clrstate: column{
|
||||
Name: "clrstate",
|
||||
DBType: "fieldseeker.servicerequest_servicerequestregion_enum",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Caller State",
|
||||
Comment: "Original attribute from ArcGIS API is CLRSTATE",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -181,7 +181,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "clrzip",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Caller ZIP",
|
||||
Comment: "Original attribute from ArcGIS API is CLRZIP",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -190,16 +190,16 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "clrother",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Caller Other",
|
||||
Comment: "Original attribute from ArcGIS API is CLROTHER",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
Clrcontpref: column{
|
||||
Name: "clrcontpref",
|
||||
DBType: "fieldseeker.servicerequest_servicerequestcontactpreferences_enum",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Caller Contact Preference",
|
||||
Comment: "Original attribute from ArcGIS API is CLRCONTPREF",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -208,7 +208,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "reqcompany",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Request Company",
|
||||
Comment: "Original attribute from ArcGIS API is REQCOMPANY",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -217,7 +217,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "reqaddr1",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Request Address",
|
||||
Comment: "Original attribute from ArcGIS API is REQADDR1",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -226,7 +226,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "reqaddr2",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Request Address 2",
|
||||
Comment: "Original attribute from ArcGIS API is REQADDR2",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -235,16 +235,16 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "reqcity",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Request City",
|
||||
Comment: "Original attribute from ArcGIS API is REQCITY",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
Reqstate: column{
|
||||
Name: "reqstate",
|
||||
DBType: "fieldseeker.servicerequest_servicerequestregion_enum",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Request State",
|
||||
Comment: "Original attribute from ArcGIS API is REQSTATE",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -253,7 +253,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "reqzip",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Request ZIP",
|
||||
Comment: "Original attribute from ArcGIS API is REQZIP",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -262,7 +262,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "reqcrossst",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Request Cross Street",
|
||||
Comment: "Original attribute from ArcGIS API is REQCROSSST",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -271,7 +271,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "reqsubdiv",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Request Subdivision",
|
||||
Comment: "Original attribute from ArcGIS API is REQSUBDIV",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -280,25 +280,25 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "reqmapgrid",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Request Map Grid",
|
||||
Comment: "Original attribute from ArcGIS API is REQMAPGRID",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
Reqpermission: column{
|
||||
Name: "reqpermission",
|
||||
DBType: "fieldseeker.servicerequest_notinuit_f_enum",
|
||||
DBType: "smallint",
|
||||
Default: "NULL",
|
||||
Comment: "Permission to Enter",
|
||||
Comment: "Original attribute from ArcGIS API is REQPERMISSION",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
Reqtarget: column{
|
||||
Name: "reqtarget",
|
||||
DBType: "fieldseeker.servicerequest_servicerequesttarget_enum",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Request Target",
|
||||
Comment: "Original attribute from ArcGIS API is REQTARGET",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -307,7 +307,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "reqdescr",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Request Description",
|
||||
Comment: "Original attribute from ArcGIS API is REQDESCR",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -316,7 +316,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "reqnotesfortech",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Notes for Field Technician",
|
||||
Comment: "Original attribute from ArcGIS API is REQNOTESFORTECH",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -325,7 +325,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "reqnotesforcust",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Notes for Customer",
|
||||
Comment: "Original attribute from ArcGIS API is REQNOTESFORCUST",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -334,7 +334,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "reqfldnotes",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Request Field Notes",
|
||||
Comment: "Original attribute from ArcGIS API is REQFLDNOTES",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -343,7 +343,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "reqprogramactions",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Request Program Actions",
|
||||
Comment: "Original attribute from ArcGIS API is REQPROGRAMACTIONS",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -352,7 +352,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "datetimeclosed",
|
||||
DBType: "timestamp without time zone",
|
||||
Default: "NULL",
|
||||
Comment: "Closed",
|
||||
Comment: "Original attribute from ArcGIS API is DATETIMECLOSED",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -361,7 +361,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "techclosed",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Closed By",
|
||||
Comment: "Original attribute from ArcGIS API is TECHCLOSED",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -370,16 +370,16 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "sr_number",
|
||||
DBType: "integer",
|
||||
Default: "NULL",
|
||||
Comment: "SR#",
|
||||
Comment: "Original attribute from ArcGIS API is SR_NUMBER",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
Reviewed: column{
|
||||
Name: "reviewed",
|
||||
DBType: "fieldseeker.servicerequest_notinuit_f_enum",
|
||||
DBType: "smallint",
|
||||
Default: "NULL",
|
||||
Comment: "Reviewed",
|
||||
Comment: "Original attribute from ArcGIS API is REVIEWED",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -388,7 +388,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "reviewedby",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Reviewed By",
|
||||
Comment: "Original attribute from ArcGIS API is REVIEWEDBY",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -397,16 +397,16 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "revieweddate",
|
||||
DBType: "timestamp without time zone",
|
||||
Default: "NULL",
|
||||
Comment: "Reviewed Date",
|
||||
Comment: "Original attribute from ArcGIS API is REVIEWEDDATE",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
Accepted: column{
|
||||
Name: "accepted",
|
||||
DBType: "fieldseeker.servicerequest_notinuit_f_enum",
|
||||
DBType: "smallint",
|
||||
Default: "NULL",
|
||||
Comment: "Accepted",
|
||||
Comment: "Original attribute from ArcGIS API is ACCEPTED",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -415,7 +415,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "accepteddate",
|
||||
DBType: "timestamp without time zone",
|
||||
Default: "NULL",
|
||||
Comment: "Accepted Date",
|
||||
Comment: "Original attribute from ArcGIS API is ACCEPTEDDATE",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -424,7 +424,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "rejectedby",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Rejected By",
|
||||
Comment: "Original attribute from ArcGIS API is REJECTEDBY",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -433,16 +433,16 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "rejecteddate",
|
||||
DBType: "timestamp without time zone",
|
||||
Default: "NULL",
|
||||
Comment: "Rejected Date",
|
||||
Comment: "Original attribute from ArcGIS API is REJECTEDDATE",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
Rejectedreason: column{
|
||||
Name: "rejectedreason",
|
||||
DBType: "fieldseeker.servicerequest_servicerequestrejectedreason_enum",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Rejected Reason",
|
||||
Comment: "Original attribute from ArcGIS API is REJECTEDREASON",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -451,7 +451,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "duedate",
|
||||
DBType: "timestamp without time zone",
|
||||
Default: "NULL",
|
||||
Comment: "Due Date",
|
||||
Comment: "Original attribute from ArcGIS API is DUEDATE",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -460,7 +460,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "acceptedby",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Accepted By",
|
||||
Comment: "Original attribute from ArcGIS API is ACCEPTEDBY",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -469,7 +469,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "comments",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Comments",
|
||||
Comment: "Original attribute from ArcGIS API is COMMENTS",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -478,16 +478,16 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "estcompletedate",
|
||||
DBType: "timestamp without time zone",
|
||||
Default: "NULL",
|
||||
Comment: "Estimated Completion Date",
|
||||
Comment: "Original attribute from ArcGIS API is ESTCOMPLETEDATE",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
Nextaction: column{
|
||||
Name: "nextaction",
|
||||
DBType: "fieldseeker.servicerequest_servicerequestnextaction_enum",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Next Action",
|
||||
Comment: "Original attribute from ArcGIS API is NEXTACTION",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -496,7 +496,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "recordstatus",
|
||||
DBType: "smallint",
|
||||
Default: "NULL",
|
||||
Comment: "Record Status",
|
||||
Comment: "Original attribute from ArcGIS API is RECORDSTATUS",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -505,7 +505,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "globalid",
|
||||
DBType: "uuid",
|
||||
Default: "NULL",
|
||||
Comment: "",
|
||||
Comment: "Original attribute from ArcGIS API is GlobalID",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -514,7 +514,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "created_user",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "",
|
||||
Comment: "Original attribute from ArcGIS API is created_user",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -523,7 +523,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "created_date",
|
||||
DBType: "timestamp without time zone",
|
||||
Default: "NULL",
|
||||
Comment: "",
|
||||
Comment: "Original attribute from ArcGIS API is created_date",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -532,7 +532,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "last_edited_user",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "",
|
||||
Comment: "Original attribute from ArcGIS API is last_edited_user",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -541,7 +541,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "last_edited_date",
|
||||
DBType: "timestamp without time zone",
|
||||
Default: "NULL",
|
||||
Comment: "",
|
||||
Comment: "Original attribute from ArcGIS API is last_edited_date",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -550,7 +550,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "firstresponsedate",
|
||||
DBType: "timestamp without time zone",
|
||||
Default: "NULL",
|
||||
Comment: "First Response Date",
|
||||
Comment: "Original attribute from ArcGIS API is FIRSTRESPONSEDATE",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -559,7 +559,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "responsedaycount",
|
||||
DBType: "smallint",
|
||||
Default: "NULL",
|
||||
Comment: "Response Day Count",
|
||||
Comment: "Original attribute from ArcGIS API is RESPONSEDAYCOUNT",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -568,7 +568,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "allowed",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Verify Correct Location",
|
||||
Comment: "Original attribute from ArcGIS API is ALLOWED",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -577,7 +577,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "xvalue",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Xvalue",
|
||||
Comment: "Original attribute from ArcGIS API is XVALUE",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -586,7 +586,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "yvalue",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Yvalue",
|
||||
Comment: "Original attribute from ArcGIS API is YVALUE",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -595,7 +595,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "validx",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "ValidX",
|
||||
Comment: "Original attribute from ArcGIS API is VALIDX",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -604,7 +604,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "validy",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "ValidY",
|
||||
Comment: "Original attribute from ArcGIS API is VALIDY",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -613,7 +613,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "externalid",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "External ID",
|
||||
Comment: "Original attribute from ArcGIS API is EXTERNALID",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -622,7 +622,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "externalerror",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "External Error",
|
||||
Comment: "Original attribute from ArcGIS API is EXTERNALERROR",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -631,7 +631,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "pointlocid",
|
||||
DBType: "uuid",
|
||||
Default: "NULL",
|
||||
Comment: "",
|
||||
Comment: "Original attribute from ArcGIS API is POINTLOCID",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -640,7 +640,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "notified",
|
||||
DBType: "smallint",
|
||||
Default: "NULL",
|
||||
Comment: "Notified",
|
||||
Comment: "Original attribute from ArcGIS API is NOTIFIED",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -649,7 +649,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "notifieddate",
|
||||
DBType: "timestamp without time zone",
|
||||
Default: "NULL",
|
||||
Comment: "Notified Date",
|
||||
Comment: "Original attribute from ArcGIS API is NOTIFIEDDATE",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -658,7 +658,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "scheduled",
|
||||
DBType: "smallint",
|
||||
Default: "NULL",
|
||||
Comment: "Scheduled",
|
||||
Comment: "Original attribute from ArcGIS API is SCHEDULED",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -667,25 +667,25 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "scheduleddate",
|
||||
DBType: "timestamp without time zone",
|
||||
Default: "NULL",
|
||||
Comment: "Scheduled Date",
|
||||
Comment: "Original attribute from ArcGIS API is SCHEDULEDDATE",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
Dog: column{
|
||||
Name: "dog",
|
||||
DBType: "fieldseeker.servicerequest_servicerequest_dog_2b95ec97_1286_4fcd_88f4_f0e31",
|
||||
DBType: "integer",
|
||||
Default: "NULL",
|
||||
Comment: "Dog",
|
||||
Comment: "Original attribute from ArcGIS API is DOG",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
SchedulePeriod: column{
|
||||
Name: "schedule_period",
|
||||
DBType: "fieldseeker.servicerequest_servicerequest_schedule_period_3f40c046_afd1_4ab",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Schedule Period",
|
||||
Comment: "Original attribute from ArcGIS API is schedule_period",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -694,16 +694,16 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "schedule_notes",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Schedule Notes",
|
||||
Comment: "Original attribute from ArcGIS API is schedule_notes",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
Spanish: column{
|
||||
Name: "spanish",
|
||||
DBType: "fieldseeker.servicerequest_servicerequest_spanish_aaa3dc66_9f9a_4527_8ecd_c",
|
||||
DBType: "integer",
|
||||
Default: "NULL",
|
||||
Comment: "Prefer speaking Spanish",
|
||||
Comment: "Original attribute from ArcGIS API is Spanish",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -712,7 +712,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "creationdate",
|
||||
DBType: "timestamp without time zone",
|
||||
Default: "NULL",
|
||||
Comment: "",
|
||||
Comment: "Original attribute from ArcGIS API is CreationDate",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -721,7 +721,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "creator",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "",
|
||||
Comment: "Original attribute from ArcGIS API is Creator",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -730,7 +730,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "editdate",
|
||||
DBType: "timestamp without time zone",
|
||||
Default: "NULL",
|
||||
Comment: "",
|
||||
Comment: "Original attribute from ArcGIS API is EditDate",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -739,16 +739,16 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "editor",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "",
|
||||
Comment: "Original attribute from ArcGIS API is Editor",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
Issuesreported: column{
|
||||
Name: "issuesreported",
|
||||
DBType: "fieldseeker.servicerequest_servicerequestissues_enum",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Issues Reported",
|
||||
Comment: "Original attribute from ArcGIS API is ISSUESREPORTED",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -757,7 +757,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "jurisdiction",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Jurisdiction",
|
||||
Comment: "Original attribute from ArcGIS API is JURISDICTION",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -766,7 +766,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "notificationtimestamp",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Notification Timestamp",
|
||||
Comment: "Original attribute from ArcGIS API is NOTIFICATIONTIMESTAMP",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -775,7 +775,7 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "zone",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Zone",
|
||||
Comment: "Original attribute from ArcGIS API is ZONE",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -784,7 +784,25 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "zone2",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Zone2",
|
||||
Comment: "Original attribute from ArcGIS API is ZONE2",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
Geometry: column{
|
||||
Name: "geometry",
|
||||
DBType: "jsonb",
|
||||
Default: "",
|
||||
Comment: "",
|
||||
Nullable: false,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
Geospatial: column{
|
||||
Name: "geospatial",
|
||||
DBType: "geometry",
|
||||
Default: "NULL",
|
||||
Comment: "",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -793,7 +811,16 @@ var FieldseekerServicerequests = Table[
|
|||
Name: "version",
|
||||
DBType: "integer",
|
||||
Default: "1",
|
||||
Comment: "Tracks version changes to the row. Increases when data is modified.",
|
||||
Comment: "",
|
||||
Nullable: false,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
OrganizationID: column{
|
||||
Name: "organization_id",
|
||||
DBType: "integer",
|
||||
Default: "",
|
||||
Comment: "",
|
||||
Nullable: false,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
|
|
@ -828,6 +855,17 @@ var FieldseekerServicerequests = Table[
|
|||
Columns: []string{"objectid", "version"},
|
||||
Comment: "",
|
||||
},
|
||||
ForeignKeys: fieldseekerServicerequestForeignKeys{
|
||||
FieldseekerServicerequestServicerequestOrganizationIDFkey: foreignKey{
|
||||
constraint: constraint{
|
||||
Name: "fieldseeker.servicerequest.servicerequest_organization_id_fkey",
|
||||
Columns: []string{"organization_id"},
|
||||
Comment: "",
|
||||
},
|
||||
ForeignTable: "organization",
|
||||
ForeignColumns: []string{"id"},
|
||||
},
|
||||
},
|
||||
|
||||
Comment: "",
|
||||
}
|
||||
|
|
@ -919,12 +957,15 @@ type fieldseekerServicerequestColumns struct {
|
|||
Notificationtimestamp column
|
||||
Zone column
|
||||
Zone2 column
|
||||
Geometry column
|
||||
Geospatial column
|
||||
Version column
|
||||
OrganizationID column
|
||||
}
|
||||
|
||||
func (c fieldseekerServicerequestColumns) AsSlice() []column {
|
||||
return []column{
|
||||
c.Objectid, c.Recdatetime, c.Source, c.Entrytech, c.Priority, c.Supervisor, c.Assignedtech, c.Status, c.Clranon, c.Clrfname, c.Clrphone1, c.Clrphone2, c.Clremail, c.Clrcompany, c.Clraddr1, c.Clraddr2, c.Clrcity, c.Clrstate, c.Clrzip, c.Clrother, c.Clrcontpref, c.Reqcompany, c.Reqaddr1, c.Reqaddr2, c.Reqcity, c.Reqstate, c.Reqzip, c.Reqcrossst, c.Reqsubdiv, c.Reqmapgrid, c.Reqpermission, c.Reqtarget, c.Reqdescr, c.Reqnotesfortech, c.Reqnotesforcust, c.Reqfldnotes, c.Reqprogramactions, c.Datetimeclosed, c.Techclosed, c.SRNumber, c.Reviewed, c.Reviewedby, c.Revieweddate, c.Accepted, c.Accepteddate, c.Rejectedby, c.Rejecteddate, c.Rejectedreason, c.Duedate, c.Acceptedby, c.Comments, c.Estcompletedate, c.Nextaction, c.Recordstatus, c.Globalid, c.CreatedUser, c.CreatedDate, c.LastEditedUser, c.LastEditedDate, c.Firstresponsedate, c.Responsedaycount, c.Allowed, c.Xvalue, c.Yvalue, c.Validx, c.Validy, c.Externalid, c.Externalerror, c.Pointlocid, c.Notified, c.Notifieddate, c.Scheduled, c.Scheduleddate, c.Dog, c.SchedulePeriod, c.ScheduleNotes, c.Spanish, c.Creationdate, c.Creator, c.Editdate, c.Editor, c.Issuesreported, c.Jurisdiction, c.Notificationtimestamp, c.Zone, c.Zone2, c.Version,
|
||||
c.Objectid, c.Recdatetime, c.Source, c.Entrytech, c.Priority, c.Supervisor, c.Assignedtech, c.Status, c.Clranon, c.Clrfname, c.Clrphone1, c.Clrphone2, c.Clremail, c.Clrcompany, c.Clraddr1, c.Clraddr2, c.Clrcity, c.Clrstate, c.Clrzip, c.Clrother, c.Clrcontpref, c.Reqcompany, c.Reqaddr1, c.Reqaddr2, c.Reqcity, c.Reqstate, c.Reqzip, c.Reqcrossst, c.Reqsubdiv, c.Reqmapgrid, c.Reqpermission, c.Reqtarget, c.Reqdescr, c.Reqnotesfortech, c.Reqnotesforcust, c.Reqfldnotes, c.Reqprogramactions, c.Datetimeclosed, c.Techclosed, c.SRNumber, c.Reviewed, c.Reviewedby, c.Revieweddate, c.Accepted, c.Accepteddate, c.Rejectedby, c.Rejecteddate, c.Rejectedreason, c.Duedate, c.Acceptedby, c.Comments, c.Estcompletedate, c.Nextaction, c.Recordstatus, c.Globalid, c.CreatedUser, c.CreatedDate, c.LastEditedUser, c.LastEditedDate, c.Firstresponsedate, c.Responsedaycount, c.Allowed, c.Xvalue, c.Yvalue, c.Validx, c.Validy, c.Externalid, c.Externalerror, c.Pointlocid, c.Notified, c.Notifieddate, c.Scheduled, c.Scheduleddate, c.Dog, c.SchedulePeriod, c.ScheduleNotes, c.Spanish, c.Creationdate, c.Creator, c.Editdate, c.Editor, c.Issuesreported, c.Jurisdiction, c.Notificationtimestamp, c.Zone, c.Zone2, c.Geometry, c.Geospatial, c.Version, c.OrganizationID,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -938,10 +979,14 @@ func (i fieldseekerServicerequestIndexes) AsSlice() []index {
|
|||
}
|
||||
}
|
||||
|
||||
type fieldseekerServicerequestForeignKeys struct{}
|
||||
type fieldseekerServicerequestForeignKeys struct {
|
||||
FieldseekerServicerequestServicerequestOrganizationIDFkey foreignKey
|
||||
}
|
||||
|
||||
func (f fieldseekerServicerequestForeignKeys) AsSlice() []foreignKey {
|
||||
return []foreignKey{}
|
||||
return []foreignKey{
|
||||
f.FieldseekerServicerequestServicerequestOrganizationIDFkey,
|
||||
}
|
||||
}
|
||||
|
||||
type fieldseekerServicerequestUniques struct{}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue