You are here

function dynamic_banner_update_6300 in Dynamic Banner 6

Add a new field to store a link to another page, for when clicking on the banner.

File

./dynamic_banner.install, line 101
The install file of dynamic_banner

Code

function dynamic_banner_update_6300() {
  $ret = array();
  db_add_field($ret, 'dynamic_banner', 'link', array(
    'description' => 'The link to make the banner point to',
    'type' => 'varchar',
    'length' => '255',
    'not null' => FALSE,
  ));
  return $ret;
}