You are here

function rotor_update_5001 in Rotor Banner 5

File

./rotor.install, line 62
Provides install and uninstall functions for rotor.

Code

function rotor_update_5001() {
  $ret = array();
  switch ($GLOBALS['db_type']) {
    case 'mysql':
    case 'mysqli':
      $ret[] = update_sql("ALTER TABLE {rotor_item} ADD COLUMN link_target varchar(255) NULL AFTER url");
      break;
  }
  return $ret;
}