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:
@ -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