// 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 import "github.com/aarondl/opt/null" var FieldseekerZones = Table[ fieldseekerZoneColumns, fieldseekerZoneIndexes, fieldseekerZoneForeignKeys, fieldseekerZoneUniques, fieldseekerZoneChecks, ]{ Schema: "fieldseeker", Name: "zones", Columns: fieldseekerZoneColumns{ Objectid: column{ Name: "objectid", DBType: "bigint", Default: "nextval('fieldseeker.zones_objectid_seq'::regclass)", Comment: "", Nullable: false, Generated: false, AutoIncr: false, }, Name: column{ Name: "name", DBType: "character varying", Default: "NULL", Comment: "Name", Nullable: true, Generated: false, AutoIncr: false, }, Globalid: column{ Name: "globalid", DBType: "uuid", Default: "NULL", Comment: "", Nullable: true, Generated: false, AutoIncr: false, }, CreatedUser: column{ Name: "created_user", DBType: "character varying", Default: "NULL", Comment: "", Nullable: true, Generated: false, AutoIncr: false, }, CreatedDate: column{ Name: "created_date", DBType: "timestamp without time zone", Default: "NULL", Comment: "", Nullable: true, Generated: false, AutoIncr: false, }, LastEditedUser: column{ Name: "last_edited_user", DBType: "character varying", Default: "NULL", Comment: "", Nullable: true, Generated: false, AutoIncr: false, }, LastEditedDate: column{ Name: "last_edited_date", DBType: "timestamp without time zone", Default: "NULL", Comment: "", Nullable: true, Generated: false, AutoIncr: false, }, Active: column{ Name: "active", DBType: "integer", Default: "NULL", Comment: "", Nullable: true, Generated: false, AutoIncr: false, }, Creationdate: column{ Name: "creationdate", DBType: "timestamp without time zone", Default: "NULL", Comment: "", Nullable: true, Generated: false, AutoIncr: false, }, Creator: column{ Name: "creator", DBType: "character varying", Default: "NULL", Comment: "", Nullable: true, Generated: false, AutoIncr: false, }, Editdate: column{ Name: "editdate", DBType: "timestamp without time zone", Default: "NULL", Comment: "", Nullable: true, Generated: false, AutoIncr: false, }, Editor: column{ Name: "editor", DBType: "character varying", Default: "NULL", Comment: "", Nullable: true, Generated: false, AutoIncr: false, }, ShapeArea: column{ Name: "shape__area", DBType: "double precision", Default: "NULL", Comment: "", Nullable: true, Generated: false, AutoIncr: false, }, ShapeLength: column{ Name: "shape__length", DBType: "double precision", Default: "NULL", Comment: "", Nullable: true, 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: fieldseekerZoneIndexes{ ZonesPkey: index{ Type: "btree", Name: "zones_pkey", Columns: []indexColumn{ { Name: "objectid", Desc: null.FromCond(false, true), IsExpression: false, }, { Name: "version", Desc: null.FromCond(false, true), IsExpression: false, }, }, Unique: true, Comment: "", NullsFirst: []bool{false, false}, NullsDistinct: false, Where: "", Include: []string{}, }, }, PrimaryKey: &constraint{ Name: "zones_pkey", Columns: []string{"objectid", "version"}, Comment: "", }, Comment: "", } type fieldseekerZoneColumns struct { Objectid column Name column Globalid column CreatedUser column CreatedDate column LastEditedUser column LastEditedDate column Active column Creationdate column Creator column Editdate column Editor column ShapeArea column ShapeLength column Version column } func (c fieldseekerZoneColumns) AsSlice() []column { return []column{ c.Objectid, c.Name, c.Globalid, c.CreatedUser, c.CreatedDate, c.LastEditedUser, c.LastEditedDate, c.Active, c.Creationdate, c.Creator, c.Editdate, c.Editor, c.ShapeArea, c.ShapeLength, c.Version, } } type fieldseekerZoneIndexes struct { ZonesPkey index } func (i fieldseekerZoneIndexes) AsSlice() []index { return []index{ i.ZonesPkey, } } type fieldseekerZoneForeignKeys struct{} func (f fieldseekerZoneForeignKeys) AsSlice() []foreignKey { return []foreignKey{} } type fieldseekerZoneUniques struct{} func (u fieldseekerZoneUniques) AsSlice() []constraint { return []constraint{} } type fieldseekerZoneChecks struct{} func (c fieldseekerZoneChecks) AsSlice() []check { return []check{} }