function panels_update_1001 in Panels 6.3
Same name and namespace in other branches
- 5.2 panels.install \panels_update_1001()
File
- ./
panels.install, line 457
Code
function panels_update_1001() {
if (!empty($GLOBALS['SKIP_PANELS_UPDATES'])) {
return array();
}
$ret = array();
$ret[] = update_sql("ALTER TABLE {panels_page} ADD COLUMN no_blocks int(1)");
$ret[] = update_sql("ALTER TABLE {panels_page} ADD COLUMN menu int(1) DEFAULT 0");
$ret[] = update_sql("ALTER TABLE {panels_page} ADD COLUMN menu_tab int(1)");
$ret[] = update_sql("ALTER TABLE {panels_page} ADD COLUMN menu_tab_weight int(4)");
$ret[] = update_sql("ALTER TABLE {panels_page} ADD COLUMN menu_title varchar(255)");
$ret[] = update_sql("ALTER TABLE {panels_page} ADD COLUMN menu_tab_default int(1)");
$ret[] = update_sql("ALTER TABLE {panels_page} ADD COLUMN menu_tab_default_parent_type varchar(10)");
$ret[] = update_sql("ALTER TABLE {panels_page} ADD COLUMN menu_parent_title varchar(255)");
$ret[] = update_sql("ALTER TABLE {panels_page} ADD COLUMN menu_parent_tab_weight int(4)");
return $ret;
}