mirror of
https://github.com/astaxie/beego.git
synced 2025-07-03 17:10:18 +00:00
orm add atomic set value
This commit is contained in:
@ -77,6 +77,7 @@ type User struct {
|
||||
Profile *Profile `orm:"null;rel(one);on_delete(set_null)"`
|
||||
Posts []*Post `orm:"reverse(many)" json:"-"`
|
||||
ShouldSkip string `orm:"-"`
|
||||
Nums int
|
||||
}
|
||||
|
||||
func (u *User) TableIndex() [][]string {
|
||||
|
Reference in New Issue
Block a user