diff --git a/scope.go b/scope.go index 698ed0bb..076fc336 100644 --- a/scope.go +++ b/scope.go @@ -351,7 +351,9 @@ func (scope *Scope) fieldFromStruct(fieldStruct reflect.StructField, withRelatio case reflect.Slice: typ = typ.Elem() - if (typ.Kind() == reflect.Struct) && withRelation { + if field.IsScanner() { + field.IsNormal = true + } else if (typ.Kind() == reflect.Struct) && withRelation { if foreignKey == "" { foreignKey = scopeTyp.Name() + "Id" }