docs: function TiqDB(config) {
    var defaultConfig = {
        client: 'sqlite3',
        connection: {
          host: 'localhost',
          user: null,
          password: null,
          database: 'tiq',
          filename: path.join(process.env.XDG_DATA_HOME ||
              path.join(process.env.HOME, '.local', 'share'), 'tiq', 'store.db')
        }
      },
      config = _.merge(defaultConfig, config || {});
  
    // Setup the DB connection
    Knex.knex = Knex.initialize(config);
    this.config = config;
    return this;
  }