code: def add_result(self, job):
          
          self.cur.execute(
              "INSERT INTO history VALUES(?,?,?,?)",
              (job["id"], job["description"], job["last-run"], job["last-run-result"]))
  
          return True
docs: Adds a job run result to the history table.
          :param dict job: The job dictionary
          :returns: True