1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-25 23:01:28 +00:00
This commit is contained in:
slene 2013-10-18 17:36:10 +08:00
parent 2795ac6e6b
commit 6ea8dd5999

View File

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