You are here

function feeds_update_6006 in Feeds 6

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

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

File

./feeds.install, line 361
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;
}