getEvents: function *(){
    debug('getEvents');
    return yield this.db.table('events').orderBy({ index: 'time' });
  },