Skip to content

Commit

Permalink
🐛 修复字段长度溢出
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Dec 29, 2017
1 parent 49aeedf commit 9afa57a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/setting.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type Setting struct {
Model

Category string `sql:"index" gorm:"size:32" json:"category"`
Name string `sql:"index" gorm:"size:32" json:"name"`
Name string `sql:"index" gorm:"size:64" json:"name"`
Value string `gorm:"type:text" json:"value"`

BlogID uint `sql:"index" json:"blogID"`
Expand Down

0 comments on commit 9afa57a

Please sign in to comment.