You are here

function feeds_update_6007 in Feeds 6

Same name and namespace in other branches
  1. 7 feeds.install \feeds_update_6007()

Add hash column to feeds_node_item.

File

./feeds.install, line 373
Schema definitions install/update/uninstall hooks.

Code

function feeds_update_6007() {
  $ret = array();
  $spec = array(
    'type' => 'varchar',
    'length' => 32,
    'not null' => TRUE,
    'default' => '',
    'description' => t('The hash of the item.'),
  );
  db_add_field($ret, 'feeds_node_item', 'hash', $spec);
  return $ret;
}