The only thing wrong at this point that I can tell is that address aren't being correctly populated when I reverse geocode.
162 lines
3.6 KiB
Go
162 lines
3.6 KiB
Go
// Code generated by BobGen psql v0.42.5. DO NOT EDIT.
|
|
// This file is meant to be re-generated in place and/or deleted at any time.
|
|
|
|
package dbinfo
|
|
|
|
var PublicreportReportLocations = Table[
|
|
publicreportReportLocationColumns,
|
|
publicreportReportLocationIndexes,
|
|
publicreportReportLocationForeignKeys,
|
|
publicreportReportLocationUniques,
|
|
publicreportReportLocationChecks,
|
|
]{
|
|
Schema: "publicreport",
|
|
Name: "report_location",
|
|
Columns: publicreportReportLocationColumns{
|
|
ID: column{
|
|
Name: "id",
|
|
DBType: "bigint",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
TableName: column{
|
|
Name: "table_name",
|
|
DBType: "text",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
AddressID: column{
|
|
Name: "address_id",
|
|
DBType: "integer",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
AddressRaw: column{
|
|
Name: "address_raw",
|
|
DBType: "text",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
Created: column{
|
|
Name: "created",
|
|
DBType: "timestamp without time zone",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
Location: column{
|
|
Name: "location",
|
|
DBType: "geometry",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
LocationLatitude: column{
|
|
Name: "location_latitude",
|
|
DBType: "double precision",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
LocationLongitude: column{
|
|
Name: "location_longitude",
|
|
DBType: "double precision",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
OrganizationID: column{
|
|
Name: "organization_id",
|
|
DBType: "integer",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
PublicID: column{
|
|
Name: "public_id",
|
|
DBType: "text",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
Status: column{
|
|
Name: "status",
|
|
DBType: "publicreport.reportstatustype",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
},
|
|
|
|
Comment: "",
|
|
}
|
|
|
|
type publicreportReportLocationColumns struct {
|
|
ID column
|
|
TableName column
|
|
AddressID column
|
|
AddressRaw column
|
|
Created column
|
|
Location column
|
|
LocationLatitude column
|
|
LocationLongitude column
|
|
OrganizationID column
|
|
PublicID column
|
|
Status column
|
|
}
|
|
|
|
func (c publicreportReportLocationColumns) AsSlice() []column {
|
|
return []column{
|
|
c.ID, c.TableName, c.AddressID, c.AddressRaw, c.Created, c.Location, c.LocationLatitude, c.LocationLongitude, c.OrganizationID, c.PublicID, c.Status,
|
|
}
|
|
}
|
|
|
|
type publicreportReportLocationIndexes struct{}
|
|
|
|
func (i publicreportReportLocationIndexes) AsSlice() []index {
|
|
return []index{}
|
|
}
|
|
|
|
type publicreportReportLocationForeignKeys struct{}
|
|
|
|
func (f publicreportReportLocationForeignKeys) AsSlice() []foreignKey {
|
|
return []foreignKey{}
|
|
}
|
|
|
|
type publicreportReportLocationUniques struct{}
|
|
|
|
func (u publicreportReportLocationUniques) AsSlice() []constraint {
|
|
return []constraint{}
|
|
}
|
|
|
|
type publicreportReportLocationChecks struct{}
|
|
|
|
func (c publicreportReportLocationChecks) AsSlice() []check {
|
|
return []check{}
|
|
}
|