delete unused column
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user