function hosting_task_update_6005 in Hosting 6.2
Same name and namespace in other branches
- 7.4 task/hosting_task.install \hosting_task_update_6005()
- 7.3 task/hosting_task.install \hosting_task_update_6005()
Remove DEFAULT value on a LONGTEXT fields.
This was breaking in MariaDB and preventing installation. On MySQL it was silently ignored, so the installation works, but the defaults are not in the table anyway.
See #969326
File
- task/
hosting_task.install, line 243
Code
function hosting_task_update_6005() {
$ret = array();
db_change_field($ret, 'hosting_task_log', 'error', 'error', array(
'type' => 'text',
'size' => 'big',
'not null' => TRUE,
));
return $ret;
}