You are here

function fieldgroup_update_6000 in Content Construction Kit (CCK) 6.2

Same name and namespace in other branches
  1. 6.3 modules/fieldgroup/fieldgroup.install \fieldgroup_update_6000()
  2. 6 modules/fieldgroup/fieldgroup.install \fieldgroup_update_6000()

Move fieldgroup tables to the content_* namespace.

File

modules/fieldgroup/fieldgroup.install, line 195
Implementation of hook_install().

Code

function fieldgroup_update_6000() {
  if ($abort = content_check_update('fieldgroup')) {
    return $abort;
  }
  $ret = array();
  db_rename_table($ret, 'node_group', 'content_group');
  db_rename_table($ret, 'node_group_fields', 'content_group_fields');
  variable_set('fieldgroup_schema_version', 6000);
  return $ret;
}