You are here

function flag_views_bookmark_update_4 in Flag 5

Same name and namespace in other branches
  1. 6.2 includes/flag.views_bookmark.inc \flag_views_bookmark_update_4()
  2. 6 includes/flag.views_bookmark.inc \flag_views_bookmark_update_4()

File

includes/flag.views_bookmark.inc, line 307
flag.view_bookmark.inc

Code

function flag_views_bookmark_update_4() {
  $ret = array();
  switch ($GLOBALS['db_type']) {
    case 'mysql':
    case 'mysqli':
      $ret[] = update_sql("ALTER TABLE {views_bookmarks} ADD show_on_form int(1) unsigned NOT NULL default '0'");
      break;
  }
  return $ret;
}