There are sql errors related to the new task changes.

CommentFileSizeAuthor
Screen shot 2009-10-11 at 5.22.30 PM.png84.37 KBadrian

Comments

adrian’s picture

Status: Active » Fixed

resolved in head :

made the update that does the schema change be able to be run multiple times, and then i called it directly before trying to add any tasks.


/**
 * Add a delta column to tasks so that we have a measure of duration of tasks
 */
function hosting_task_update_6000() {

  $ret = array();

  // this update needs to be run before tasks can be added, in other update functions. 
  if (!variable_get('hosting_task_update_6000_run', FALSE)) {
    db_add_field($ret, 'hosting_task', 'delta', array('type' => 'int', 'not null' => TRUE, 'default' => 0));
    variable_set('hosting_task_update_6000_run', TRUE);
  }
  return $ret;
}

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.