async getUserInfo (id) {
    const result = await db('users').where('id', id).select('*').first()

    if (!result) return null

    return result
  }
Get user info by id

@param {Int} id user id

@returns {Object} user info