Skip to content

Commit

Permalink
fix(#73): increase details log column size
Browse files Browse the repository at this point in the history
  • Loading branch information
Jumpy-Squirrel committed Jan 27, 2024
1 parent ba5fcf4 commit d51672d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/entity/protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ type ProtocolEntry struct {
ApiId uint
Kind string `gorm:"type:varchar(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;NOT NULL"`
Message string `gorm:"type:varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci"`
Details string `gorm:"type:text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci"` // usually: json message
Details string `gorm:"type:longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci"` // usually: json message
RequestId string `gorm:"type:varchar(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci"` // optional
}

0 comments on commit d51672d

Please sign in to comment.