function background_process_update_7104 in Background Process 8
Same name and namespace in other branches
- 7 background_process.install \background_process_update_7104()
Implements to Change start column from double to numeric.
File
- ./
background_process.install, line 130 - This is the installation file for the Background Process module.
Code
function background_process_update_7104() {
if (db_field_exists('background_process', 'start')) {
db_change_field('background_process', 'start', 'start', [
'type' => 'numeric',
'precision' => '16',
'scale' => '6',
'not null' => FALSE,
]);
}
}