Begin work on saving compliance report
This commit is contained in:
parent
3ad95e1365
commit
553b65556a
22 changed files with 2419 additions and 42 deletions
112
db/dbinfo/publicreport.client.bob.go
Normal file
112
db/dbinfo/publicreport.client.bob.go
Normal file
|
|
@ -0,0 +1,112 @@
|
|||
// 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{}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue