function hosting_task_update_1 in Hostmaster (Aegir) 6
Add the error column to hosting_task_log, so we can extract the specific error codes, not just the messages.
File
- modules/
hosting/ task/ hosting_task.install, line 132
Code
function hosting_task_update_1() {
$ret = array();
$ret[] = update_sql("ALTER TABLE {hosting_task_log} \n ADD COLUMN error longtext NOT NULL default ''");
$ret[] = update_sql("ALTER TABLE {hosting_task_log} \n DROP COLUMN severity");
return $ret;
}