insertVote = async (pool, vote) => {
  try {
    return await pool('votes').insert(vote);
  } catch (err) {
    throw Error(err);
  }
}
Insert a vote record into the database.

@param {object} pool The Knex connection object.
@param {object} vote The vote record to insert.
@returns {Promise}