nidus-sync/db/dbinfo/fieldseeker_sync.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

157 lines
3.4 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 FieldseekerSyncs = Table[
fieldseekerSyncColumns,
fieldseekerSyncIndexes,
fieldseekerSyncForeignKeys,
fieldseekerSyncUniques,
fieldseekerSyncChecks,
]{
Schema: "",
Name: "fieldseeker_sync",
Columns: fieldseekerSyncColumns{
ID: column{
Name: "id",
DBType: "integer",
Default: "nextval('fieldseeker_sync_id_seq'::regclass)",
Comment: "",
Nullable: false,
Generated: false,
AutoIncr: false,
},
Created: column{
Name: "created",
DBType: "timestamp without time zone",
Default: "CURRENT_TIMESTAMP",
Comment: "",
Nullable: false,
Generated: false,
AutoIncr: false,
},
RecordsCreated: column{
Name: "records_created",
DBType: "integer",
Default: "",
Comment: "",
Nullable: false,
Generated: false,
AutoIncr: false,
},
RecordsUpdated: column{
Name: "records_updated",
DBType: "integer",
Default: "",
Comment: "",
Nullable: false,
Generated: false,
AutoIncr: false,
},
RecordsUnchanged: column{
Name: "records_unchanged",
DBType: "integer",
Default: "",
Comment: "",
Nullable: false,
Generated: false,
AutoIncr: false,
},
OrganizationID: column{
Name: "organization_id",
DBType: "integer",
Default: "",
Comment: "",
Nullable: false,
Generated: false,
AutoIncr: false,
},
},
Indexes: fieldseekerSyncIndexes{
FieldseekerSyncPkey: index{
Type: "btree",
Name: "fieldseeker_sync_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: "fieldseeker_sync_pkey",
Columns: []string{"id"},
Comment: "",
},
ForeignKeys: fieldseekerSyncForeignKeys{
FieldseekerSyncFieldseekerSyncOrganizationIDFkey: foreignKey{
constraint: constraint{
Name: "fieldseeker_sync.fieldseeker_sync_organization_id_fkey",
Columns: []string{"organization_id"},
Comment: "",
},
ForeignTable: "organization",
ForeignColumns: []string{"id"},
},
},
Comment: "",
}
type fieldseekerSyncColumns struct {
ID column
Created column
RecordsCreated column
RecordsUpdated column
RecordsUnchanged column
OrganizationID column
}
func (c fieldseekerSyncColumns) AsSlice() []column {
return []column{
c.ID, c.Created, c.RecordsCreated, c.RecordsUpdated, c.RecordsUnchanged, c.OrganizationID,
}
}
type fieldseekerSyncIndexes struct {
FieldseekerSyncPkey index
}
func (i fieldseekerSyncIndexes) AsSlice() []index {
return []index{
i.FieldseekerSyncPkey,
}
}
type fieldseekerSyncForeignKeys struct {
FieldseekerSyncFieldseekerSyncOrganizationIDFkey foreignKey
}
func (f fieldseekerSyncForeignKeys) AsSlice() []foreignKey {
return []foreignKey{
f.FieldseekerSyncFieldseekerSyncOrganizationIDFkey,
}
}
type fieldseekerSyncUniques struct{}
func (u fieldseekerSyncUniques) AsSlice() []constraint {
return []constraint{}
}
type fieldseekerSyncChecks struct{}
func (c fieldseekerSyncChecks) AsSlice() []check {
return []check{}
}