You are here

function feeds_update_6006 in Feeds 7

Same name and namespace in other branches
  1. 6 feeds.install \feeds_update_6006()

Remove primary key from feeds_schedule and replace it by an index.

File

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

Code

function feeds_update_6006() {
  $ret = array();
  db_drop_primary_key($ret, 'feeds_schedule');
  db_add_index($ret, 'feeds_schedule', 'feed_nid', array(
    'feed_nid',
  ));
  return $ret;
}