You are here

function rotor_update_6000 in Rotor Banner 7

Same name and namespace in other branches
  1. 6.2 rotor.install \rotor_update_6000()
  2. 6 rotor.install \rotor_update_6000()

Implementation of hook_update_N().

File

./rotor.install, line 91
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;
}