                   else
                     # If there isn't an  properties[p].index.mongodb object, we read the properties from  properties[p].index
                     options = property.index
-              
+
                   options.background = true if options.background is undefined
-            
+
                 # If properties[p].index isn't an object we hardcode the background option and check for properties[p].unique
                 else
                   options = { background: true }
-                  options.unique = true if property.unique 
-              
-            
+                  options.unique = true if property.unique
+
+
                 indexList.push { keys: index, options: options }
-        
+
             debug 'create indexes' if @debug
             async.each( indexList, ((index, indexCallback) ->
               debug 'ensureIndex' if @debug
-          
+
               # TODO: ensureIndex for ArangoDB
               # self.collection(model).ensureIndex(index.fields || index.keys, index.options, indexCallback);
             ), modelCallback )
           ), cb)
         else
           @dataSource.once 'connected', () -> @autoupdate models, cb
-    
-  
-  
+
+
+
       ###
         Perform automigrate for the given models. It drops the corresponding collections and calls ensureIndex
 

    @query aql, bindVars, (err, result) ->
      callback err if err
      callback null, result.length
  
  # @extend require('./MigrationMixin')
  # ===================
  # = Migration Mixin =

    @option settings port [Number] The port to connect with
    @option settings database/db [String] The database to connect with
    @option settings headers [Object] Object with header to include in every request

    @param dataSource [DataSource] The data source instance
  ###
  constructor: (settings, dataSource) ->
