nidus-sync/db/dbinfo/publicreport.image.bob.go
Eli Ribble a68b8781e7
Add ability to make LLM agent forget the conversation history
This is extremely useful for testing.

In order to do this I needed to actually deploy the migration to a bob
fork so I could start to add support for behaviors I really want.
Specifically the ability to search for ids in a slice.
2026-01-27 18:44:02 +00:00

172 lines
3.5 KiB
Go

// 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 PublicreportImages = Table[
publicreportImageColumns,
publicreportImageIndexes,
publicreportImageForeignKeys,
publicreportImageUniques,
publicreportImageChecks,
]{
Schema: "publicreport",
Name: "image",
Columns: publicreportImageColumns{
ID: column{
Name: "id",
DBType: "integer",
Default: "nextval('publicreport.image_id_seq'::regclass)",
Comment: "",
Nullable: false,
Generated: false,
AutoIncr: false,
},
ContentType: column{
Name: "content_type",
DBType: "text",
Default: "",
Comment: "",
Nullable: false,
Generated: false,
AutoIncr: false,
},
Created: column{
Name: "created",
DBType: "timestamp without time zone",
Default: "",
Comment: "",
Nullable: false,
Generated: false,
AutoIncr: false,
},
Location: column{
Name: "location",
DBType: "geography",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
ResolutionX: column{
Name: "resolution_x",
DBType: "integer",
Default: "",
Comment: "",
Nullable: false,
Generated: false,
AutoIncr: false,
},
ResolutionY: column{
Name: "resolution_y",
DBType: "integer",
Default: "",
Comment: "",
Nullable: false,
Generated: false,
AutoIncr: false,
},
StorageUUID: column{
Name: "storage_uuid",
DBType: "uuid",
Default: "",
Comment: "",
Nullable: false,
Generated: false,
AutoIncr: false,
},
StorageSize: column{
Name: "storage_size",
DBType: "bigint",
Default: "",
Comment: "",
Nullable: false,
Generated: false,
AutoIncr: false,
},
UploadedFilename: column{
Name: "uploaded_filename",
DBType: "text",
Default: "",
Comment: "",
Nullable: false,
Generated: false,
AutoIncr: false,
},
},
Indexes: publicreportImageIndexes{
ImagePkey: index{
Type: "btree",
Name: "image_pkey",
Columns: []indexColumn{
{
Name: "id",
Desc: null.FromCond(false, true),
IsExpression: false,
},
},
Unique: true,
Comment: "",
NullsFirst: []bool{false},
NullsDistinct: false,
Where: "",
Include: []string{},
},
},
PrimaryKey: &constraint{
Name: "image_pkey",
Columns: []string{"id"},
Comment: "",
},
Comment: "",
}
type publicreportImageColumns struct {
ID column
ContentType column
Created column
Location column
ResolutionX column
ResolutionY column
StorageUUID column
StorageSize column
UploadedFilename column
}
func (c publicreportImageColumns) AsSlice() []column {
return []column{
c.ID, c.ContentType, c.Created, c.Location, c.ResolutionX, c.ResolutionY, c.StorageUUID, c.StorageSize, c.UploadedFilename,
}
}
type publicreportImageIndexes struct {
ImagePkey index
}
func (i publicreportImageIndexes) AsSlice() []index {
return []index{
i.ImagePkey,
}
}
type publicreportImageForeignKeys struct{}
func (f publicreportImageForeignKeys) AsSlice() []foreignKey {
return []foreignKey{}
}
type publicreportImageUniques struct{}
func (u publicreportImageUniques) AsSlice() []constraint {
return []constraint{}
}
type publicreportImageChecks struct{}
func (c publicreportImageChecks) AsSlice() []check {
return []check{}
}