You are here

function sheetnode_update_6001 in Sheetnode 6

Implementation of hook_update_N().

File

./sheetnode.install, line 112

Code

function sheetnode_update_6001(&$sandbox) {
  $ret = array();
  $schema = sheetnode_schema_6001();
  db_create_table($ret, 'sheetnode_template', $schema['sheetnode_template']);
  db_change_field($ret, 'sheetnode', 'nid', 'nid', $schema['sheetnode']['fields']['nid']);
  return $ret;
}