mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 09:20:55 +00:00
fix #255
This commit is contained in:
parent
2795ac6e6b
commit
6ea8dd5999
@ -212,6 +212,10 @@ func bootStrap() {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
models = modelCache.all()
|
||||
for _, mi := range models {
|
||||
for _, fi := range mi.fields.fieldsReverse {
|
||||
switch fi.fieldType {
|
||||
case RelReverseOne:
|
||||
|
Loading…
Reference in New Issue
Block a user