Menu name field length adjusted to 128
This commit is contained in:
1 parent
259dec9c94
commit
682361774f
1 file changed
+1
-1
+1
-1
@@ -8,7 +8,7 @@ import (
|
|||||||
|
|
||||||
type Menu struct {
|
type Menu struct {
|
||||||
MenuId int `json:"menuId" gorm:"primary_key;AUTO_INCREMENT"`
|
MenuId int `json:"menuId" gorm:"primary_key;AUTO_INCREMENT"`
|
||||||
MenuName string `json:"menuName" gorm:"type:varchar(11);"`
|
MenuName string `json:"menuName" gorm:"type:varchar(128);"`
|
||||||
Title string `json:"title" gorm:"type:varchar(64);"`
|
Title string `json:"title" gorm:"type:varchar(64);"`
|
||||||
Icon string `json:"icon" gorm:"type:varchar(128);"`
|
Icon string `json:"icon" gorm:"type:varchar(128);"`
|
||||||
Path string `json:"path" gorm:"type:varchar(128);"`
|
Path string `json:"path" gorm:"type:varchar(128);"`
|
||||||
|
|||||||
Reference in new issue
Block a user