You are here

function video_update_5 in Video 5

Add the vtype field for video module subtypes

Return value

array

File

./video.install, line 174

Code

function video_update_5() {
  $ret = array();
  switch ($GLOBALS['db_type']) {
    case 'mysql':
    case 'mysqli':
    case 'pgsql':
      $ret[] = update_sql("ALTER TABLE {video} ADD vtype varchar(32) NOT NULL default ''");
  }
  return $ret;
}