From d51672d352e7b5b3be6fcb7dce7886a208b94a91 Mon Sep 17 00:00:00 2001 From: Jumpy Squirrel Date: Sat, 27 Jan 2024 13:17:57 +0100 Subject: [PATCH] fix(#73): increase details log column size --- internal/entity/protocol.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/entity/protocol.go b/internal/entity/protocol.go index 145f7fb..e3b7377 100644 --- a/internal/entity/protocol.go +++ b/internal/entity/protocol.go @@ -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 }