summaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/db.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/models/db.go b/models/db.go
index afd4b46..e798cdc 100644
--- a/models/db.go
+++ b/models/db.go
@@ -20,3 +20,8 @@ func (c Chat) ToHistory() ([]MessagesStory, error) {
}
return resp, nil
}
+
+type Memory struct {
+ Topic string `db:"topic" json:"topic"`
+ Data string `db:"data" json:"data"`
+}