Move to latest bobgen, add fieldseeker schema references
This is an intermediate step between shifting from the old fs_* prefixed table names to an entire fieldseeker schema. At this point we have both, and we aren't doing much with the new schema but compiling.
This commit is contained in:
parent
683c5134df
commit
7c4fb02908
452 changed files with 119980 additions and 879 deletions
222
db/dbinfo/fieldseeker.pooldetail.bob.go
Normal file
222
db/dbinfo/fieldseeker.pooldetail.bob.go
Normal file
|
|
@ -0,0 +1,222 @@
|
|||
// Code generated by BobGen psql v0.42.0. 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 FieldseekerPooldetails = Table[
|
||||
fieldseekerPooldetailColumns,
|
||||
fieldseekerPooldetailIndexes,
|
||||
fieldseekerPooldetailForeignKeys,
|
||||
fieldseekerPooldetailUniques,
|
||||
fieldseekerPooldetailChecks,
|
||||
]{
|
||||
Schema: "fieldseeker",
|
||||
Name: "pooldetail",
|
||||
Columns: fieldseekerPooldetailColumns{
|
||||
Objectid: column{
|
||||
Name: "objectid",
|
||||
DBType: "bigint",
|
||||
Default: "nextval('fieldseeker.pooldetail_objectid_seq'::regclass)",
|
||||
Comment: "",
|
||||
Nullable: false,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
TrapdataID: column{
|
||||
Name: "trapdata_id",
|
||||
DBType: "uuid",
|
||||
Default: "NULL",
|
||||
Comment: "Trap Data ID",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
PoolID: column{
|
||||
Name: "pool_id",
|
||||
DBType: "uuid",
|
||||
Default: "NULL",
|
||||
Comment: "Pool ID",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
Species: column{
|
||||
Name: "species",
|
||||
DBType: "character varying",
|
||||
Default: "NULL",
|
||||
Comment: "Species",
|
||||
Nullable: true,
|
||||
Generated: false,
|
||||
AutoIncr: false,
|
||||
},
|
||||
Females: column{
|
||||
Name: "females",
|
||||
DBType: "smallint",
|
||||
Default: "NULL",
|
||||
Comment: "Females",
|
||||
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,
|
||||
},
|
||||
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,
|
||||
},
|
||||
},
|
||||
Indexes: fieldseekerPooldetailIndexes{
|
||||
PooldetailPkey: index{
|
||||
Type: "btree",
|
||||
Name: "pooldetail_pkey",
|
||||
Columns: []indexColumn{
|
||||
{
|
||||
Name: "objectid",
|
||||
Desc: null.FromCond(false, true),
|
||||
IsExpression: false,
|
||||
},
|
||||
},
|
||||
Unique: true,
|
||||
Comment: "",
|
||||
NullsFirst: []bool{false},
|
||||
NullsDistinct: false,
|
||||
Where: "",
|
||||
Include: []string{},
|
||||
},
|
||||
},
|
||||
PrimaryKey: &constraint{
|
||||
Name: "pooldetail_pkey",
|
||||
Columns: []string{"objectid"},
|
||||
Comment: "",
|
||||
},
|
||||
|
||||
Comment: "",
|
||||
}
|
||||
|
||||
type fieldseekerPooldetailColumns struct {
|
||||
Objectid column
|
||||
TrapdataID column
|
||||
PoolID column
|
||||
Species column
|
||||
Females column
|
||||
Globalid column
|
||||
CreatedUser column
|
||||
CreatedDate column
|
||||
LastEditedUser column
|
||||
LastEditedDate column
|
||||
Creationdate column
|
||||
Creator column
|
||||
Editdate column
|
||||
Editor column
|
||||
}
|
||||
|
||||
func (c fieldseekerPooldetailColumns) AsSlice() []column {
|
||||
return []column{
|
||||
c.Objectid, c.TrapdataID, c.PoolID, c.Species, c.Females, c.Globalid, c.CreatedUser, c.CreatedDate, c.LastEditedUser, c.LastEditedDate, c.Creationdate, c.Creator, c.Editdate, c.Editor,
|
||||
}
|
||||
}
|
||||
|
||||
type fieldseekerPooldetailIndexes struct {
|
||||
PooldetailPkey index
|
||||
}
|
||||
|
||||
func (i fieldseekerPooldetailIndexes) AsSlice() []index {
|
||||
return []index{
|
||||
i.PooldetailPkey,
|
||||
}
|
||||
}
|
||||
|
||||
type fieldseekerPooldetailForeignKeys struct{}
|
||||
|
||||
func (f fieldseekerPooldetailForeignKeys) AsSlice() []foreignKey {
|
||||
return []foreignKey{}
|
||||
}
|
||||
|
||||
type fieldseekerPooldetailUniques struct{}
|
||||
|
||||
func (u fieldseekerPooldetailUniques) AsSlice() []constraint {
|
||||
return []constraint{}
|
||||
}
|
||||
|
||||
type fieldseekerPooldetailChecks struct{}
|
||||
|
||||
func (c fieldseekerPooldetailChecks) AsSlice() []check {
|
||||
return []check{}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue