mirror of
https://github.com/astaxie/beego.git
synced 2025-06-12 08:30:40 +00:00
fix #255
This commit is contained in:
@ -212,6 +212,10 @@ func bootStrap() {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
models = modelCache.all()
|
||||
for _, mi := range models {
|
||||
for _, fi := range mi.fields.fieldsReverse {
|
||||
switch fi.fieldType {
|
||||
case RelReverseOne:
|
||||
|
Reference in New Issue
Block a user