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