refactor: Rename 'text' field to 'content' in telegrams table

This commit is contained in:
windyboy
2024-08-09 10:29:17 +08:00
parent 9768bad108
commit 091a054eab
5 changed files with 26 additions and 44 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ func (hr *HasuraRepository) CreateNew(pm *domain.ParsedMessage) error {
Priority_indicator: pm.PriorityIndicator,
Primary_address: pm.PrimaryAddress,
Secondary_addresses: string(secondAddress),
Text: pm.Text,
Content: pm.Text,
Body_data: bodyString,
Category: pm.Category,
Date_time: pm.DateTime,