docs: function syncDB(options) {
    var uri = options.uri || conf.db,
        entries = (options.drop ? scripts('drop') : []).concat(scripts('create')),
        progress = options.progress || noop,
        complete = options.complete || noop;
  
    connect(uri, function(err, client, done) {
      if(err) { throw err; }
      run(client, done);
    });
  
    function run(client, done) {
      var entry = entries.shift()
        , script
        , path;
  
      if(entry !== undefined) {
        script = entry[0];
        path = entry[1];
  
        progress(script, path);
        client.query(script, function (err) {
          if(err) {
            complete(err);
            done(err);
          } else {
            run(client, done);
          }
        });
      } else {
        complete();
        done();
      }
    }
  
  }