From 59e966ede635b1fbdcddb27206a45e676bf1642f Mon Sep 17 00:00:00 2001 From: zhangwenjian Date: Wed, 29 Jul 2020 15:08:44 +0800 Subject: [PATCH] feat : Adjust the length of the title field from the original 64 to 128 --- models/menu.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/menu.go b/models/menu.go index 4f436935..042014aa 100644 --- a/models/menu.go +++ b/models/menu.go @@ -9,7 +9,7 @@ import ( type Menu struct { MenuId int `json:"menuId" gorm:"primary_key;AUTO_INCREMENT"` MenuName string `json:"menuName" gorm:"size:128;"` - Title string `json:"title" gorm:"size:64;"` + Title string `json:"title" gorm:"size:128;"` Icon string `json:"icon" gorm:"size:128;"` Path string `json:"path" gorm:"size:128;"` Paths string `json:"paths" gorm:"size:128;"`