code: function _db(dbConfig, dataPath) {
    if (dbConfig.dialect === 'sqlite') {
      /* eslint-disable-next-line no-param-reassign */
      dbConfig.storage = resolve(dataPath, 'vapid.sqlite');
    }
  
    return new Database(dbConfig);
  }
docs: @private
  
  Instantiates the database
  
  @param {Object} dbConfig - database config
  @param {string} dataPath - data directory
  @return {Database} a new database instance