feat:Upgrade the permission field length of menu table to 255

This commit is contained in:
wenjianzhang committed 2020-07-22 15:38:15 +08:00
1 parent 1483b63447
commit 51e0134fb8
1 file changed
+1 -1
+1 -1
View File
@@ -15,7 +15,7 @@ type Menu struct {
Paths string `json:"paths" gorm:"size:128;"`
MenuType string `json:"menuType" gorm:"size:1;"`
Action string `json:"action" gorm:"size:16;"`
Permission string `json:"permission" gorm:"size:32;"`
Permission string `json:"permission" gorm:"size:255;"`
ParentId int `json:"parentId" gorm:"size:11;"`
NoCache bool `json:"noCache" gorm:"size:8;"`
Breadcrumb string `json:"breadcrumb" gorm:"size:255;"`