// 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 PublicreportSubscribePhones = Table[ publicreportSubscribePhoneColumns, publicreportSubscribePhoneIndexes, publicreportSubscribePhoneForeignKeys, publicreportSubscribePhoneUniques, publicreportSubscribePhoneChecks, ]{ Schema: "publicreport", Name: "subscribe_phone", Columns: publicreportSubscribePhoneColumns{ Created: column{ Name: "created", DBType: "timestamp without time zone", Default: "", Comment: "", Nullable: false, Generated: false, AutoIncr: false, }, Deleted: column{ Name: "deleted", DBType: "timestamp without time zone", Default: "NULL", Comment: "", Nullable: true, Generated: false, AutoIncr: false, }, PhoneE164: column{ Name: "phone_e164", DBType: "text", Default: "", Comment: "", Nullable: false, Generated: false, AutoIncr: false, }, }, ForeignKeys: publicreportSubscribePhoneForeignKeys{ PublicreportSubscribePhoneSubscribePhonePhoneE164Fkey: foreignKey{ constraint: constraint{ Name: "publicreport.subscribe_phone.subscribe_phone_phone_e164_fkey", Columns: []string{"phone_e164"}, Comment: "", }, ForeignTable: "comms.phone", ForeignColumns: []string{"e164"}, }, }, Comment: "", } type publicreportSubscribePhoneColumns struct { Created column Deleted column PhoneE164 column } func (c publicreportSubscribePhoneColumns) AsSlice() []column { return []column{ c.Created, c.Deleted, c.PhoneE164, } } type publicreportSubscribePhoneIndexes struct{} func (i publicreportSubscribePhoneIndexes) AsSlice() []index { return []index{} } type publicreportSubscribePhoneForeignKeys struct { PublicreportSubscribePhoneSubscribePhonePhoneE164Fkey foreignKey } func (f publicreportSubscribePhoneForeignKeys) AsSlice() []foreignKey { return []foreignKey{ f.PublicreportSubscribePhoneSubscribePhonePhoneE164Fkey, } } type publicreportSubscribePhoneUniques struct{} func (u publicreportSubscribePhoneUniques) AsSlice() []constraint { return []constraint{} } type publicreportSubscribePhoneChecks struct{} func (c publicreportSubscribePhoneChecks) AsSlice() []check { return []check{} }