function rotor_update_6000 in Rotor Banner 6
Same name and namespace in other branches
- 6.2 rotor.install \rotor_update_6000()
- 7 rotor.install \rotor_update_6000()
Implementation of hook_update_N().
File
- ./
rotor.install, line 48 - Provides install and uninstall functions for rotor.
Code
function rotor_update_6000() {
$ret = array();
db_add_field($ret, 'rotor_item', 'url', array(
'type' => 'varchar',
'not null' => FALSE,
'length' => 255,
'description' => 'The url of the image that will be actived.',
));
db_add_field($ret, 'rotor_item', 'alt_text', array(
'type' => 'varchar',
'not null' => FALSE,
'length' => 255,
'description' => 'The alt text for the rotor item image.',
));
return $ret;
}