function panels_mini_update_5001 in Panels 5.2
File
- panels_mini/
panels_mini.install, line 131
Code
function panels_mini_update_5001() {
$ret = array();
switch ($GLOBALS['db_type']) {
case 'pgsql':
db_add_column($ret, 'panels_mini', 'requiredcontexts', 'text', array());
break;
case 'mysql':
case 'mysqli':
$ret[] = update_sql("ALTER TABLE {panels_mini} ADD COLUMN requiredcontexts longtext");
}
return $ret;
}