function flag_views_bookmark_update_4 in Flag 6.2
Same name and namespace in other branches
- 5 includes/flag.views_bookmark.inc \flag_views_bookmark_update_4()
- 6 includes/flag.views_bookmark.inc \flag_views_bookmark_update_4()
File
- includes/
flag.views_bookmark.inc, line 223 - Upgrade code to migrate from Views bookmark to Flag module.
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;
}