diff --git a/src/db/models/new/embed/index.ts b/src/db/models/new/embed/index.ts index 29730e76..4477d3b4 100644 --- a/src/db/models/new/embed/index.ts +++ b/src/db/models/new/embed/index.ts @@ -13,6 +13,7 @@ export const EmbedModelColumn = { CreatedAt: 'createdAt', UpdatedBy: 'updatedBy', UpdatedAt: 'updatedAt', + Settings: 'settings', } as const; export class EmbedModel extends Model { @@ -36,4 +37,5 @@ export class EmbedModel extends Model { [EmbedModelColumn.CreatedAt]!: string; [EmbedModelColumn.UpdatedBy]!: string; [EmbedModelColumn.UpdatedAt]!: string; + [EmbedModelColumn.Settings]!: Record; } diff --git a/src/db/presentations/joined-embed-embedding-secret/index.ts b/src/db/presentations/joined-embed-embedding-secret/index.ts index bbd507b7..f5b8b809 100644 --- a/src/db/presentations/joined-embed-embedding-secret/index.ts +++ b/src/db/presentations/joined-embed-embedding-secret/index.ts @@ -16,6 +16,7 @@ const selectedEmbedColumns = [ EmbedModelColumn.CreatedAt, EmbedModelColumn.UpdatedBy, EmbedModelColumn.UpdatedAt, + EmbedModelColumn.Settings, ] as const; const selectedEmbeddingSecretsColumns = [EmbeddingSecretModelColumn.PublicKey] as const;