fix the ORM test case
This commit is contained in:
@@ -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:"-"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user