function tvi_update_6002 in Taxonomy Views Integrator 6
Implements tvi_hook_update_N().
Related topics
File
- ./
tvi.install, line 121 - Installation file for TVI module.
Code
function tvi_update_6002() {
$ret = array();
// We don't want to lose our mappings
$map = _tvi_update_load_6002();
// Transform view_id column into view_name
db_change_field($ret, 'tvi_settings', 'view_id', 'view_name', array(
'type' => 'varchar',
'length' => 32,
'not null' => TRUE,
'default' => '',
'description' => 'The view name that is used for this taxonomy display.',
));
// Populate the empty view_name fields
_tvi_update_store_6002($ret, $map);
return $ret;
}