Add answer column to SearchQuery model
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user