if(!revisions[i].down || typeof revisions[i].down !== 'function') return next('Malformed migration file for schema ' + i+1);