// 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 import "github.com/aarondl/opt/null" var PublicreportClients = Table[ publicreportClientColumns, publicreportClientIndexes, publicreportClientForeignKeys, publicreportClientUniques, publicreportClientChecks, ]{ Schema: "publicreport", Name: "client", Columns: publicreportClientColumns{ Created: column{ Name: "created", DBType: "timestamp without time zone", Default: "", Comment: "", Nullable: false, Generated: false, AutoIncr: false, }, UserAgent: column{ Name: "user_agent", DBType: "text", Default: "", Comment: "", Nullable: false, Generated: false, AutoIncr: false, }, UUID: column{ Name: "uuid", DBType: "uuid", Default: "", Comment: "", Nullable: false, Generated: false, AutoIncr: false, }, }, Indexes: publicreportClientIndexes{ ClientPkey: index{ Type: "btree", Name: "client_pkey", Columns: []indexColumn{ { Name: "uuid", Desc: null.FromCond(false, true), IsExpression: false, }, }, Unique: true, Comment: "", NullsFirst: []bool{false}, NullsDistinct: false, Where: "", Include: []string{}, }, }, PrimaryKey: &constraint{ Name: "client_pkey", Columns: []string{"uuid"}, Comment: "", }, Comment: "", } type publicreportClientColumns struct { Created column UserAgent column UUID column } func (c publicreportClientColumns) AsSlice() []column { return []column{ c.Created, c.UserAgent, c.UUID, } } type publicreportClientIndexes struct { ClientPkey index } func (i publicreportClientIndexes) AsSlice() []index { return []index{ i.ClientPkey, } } type publicreportClientForeignKeys struct{} func (f publicreportClientForeignKeys) AsSlice() []foreignKey { return []foreignKey{} } type publicreportClientUniques struct{} func (u publicreportClientUniques) AsSlice() []constraint { return []constraint{} } type publicreportClientChecks struct{} func (c publicreportClientChecks) AsSlice() []check { return []check{} }