mirror of
https://github.com/astaxie/beego.git
synced 2024-11-25 23:01:28 +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 {
|
for _, fi := range mi.fields.fieldsReverse {
|
||||||
switch fi.fieldType {
|
switch fi.fieldType {
|
||||||
case RelReverseOne:
|
case RelReverseOne:
|
||||||
|
Loading…
Reference in New Issue
Block a user