delete unused column

This commit is contained in:
2023-07-18 18:51:26 +08:00
parent 0cd3de33ae
commit e70180ea81

View File

@@ -4,6 +4,7 @@ import (
"encoding/json"
"log"
"strings"
"time"
"github.com/gin-gonic/gin"
"github.com/google/uuid"
@@ -11,10 +12,10 @@ import (
)
type Record struct {
gorm.Model
ID uuid.UUID `gorm:"type:uuid"`
Body string
Response string
ID uuid.UUID `gorm:"type:uuid"`
CreatedAt time.Time
Body string
Response string
}
func recordUserMessage(c *gin.Context, db *gorm.DB, trackID uuid.UUID, body []byte) {