Add answer column to SearchQuery model

This commit is contained in:
Tom Moor
2023-12-11 20:15:33 -05:00
parent f9fb57abf4
commit 43e538dba7
3 changed files with 20 additions and 0 deletions

View File

@@ -48,6 +48,12 @@ class SearchQuery extends Model {
@Column
score: number;
/**
* The generated answer to the query, if any.
*/
@Column
answer: string;
/**
* The query string, automatically truncated to 255 characters.
*/