1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-03 16:20:19 +00:00

fix the ORM test case

This commit is contained in:
astaxie
2016-01-15 14:36:45 +08:00
parent a069c73b3a
commit 797571c85f
2 changed files with 2 additions and 4 deletions

View File

@ -335,7 +335,7 @@ func NewComment() *Comment {
}
type Group struct {
GID string `orm:"pk;column(gid);size(32);unique"`
ID int `orm:"column(gid);size(32)"`
Name string
Permissions []*Permission `orm:"reverse(many)" json:"-"`
}