function customfilter_update_1 in Custom filter 5
Implements hook_update_N()
File
- ./
customfilter.install, line 84
Code
function customfilter_update_1() {
$result = array();
switch ($GLOBALS['db_type']) {
case 'mysql':
case 'mysqli':
$result[] = update_sql("ALTER TABLE {customfilter_set} ADD COLUMN `cache` boolean NOT NULL default '1' AFTER `name`;");
break;
case 'pgsql':
break;
}
return $result;
}