Skip to content

Commit

Permalink
Finish migration to harvest_runs. (#4286)
Browse files Browse the repository at this point in the history
  • Loading branch information
swirtSJW authored Sep 16, 2024
1 parent 485fccd commit c104b61
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions modules/harvest/harvest.install
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,15 @@ function harvest_update_8007(&$sandbox) {
$harvest_utility = \Drupal::service('dkan.harvest.utility');
$harvest_utility->harvestHashUpdate();
}

/**
* Move entries from harvest_[ID]_runs to harvest_runs.
*
* This finishes the process started by harvest_update_8007.
*/
function harvest_update_8008(&$sandbox) {
/** @var \Drupal\harvest\HarvestUtility $harvest_utility */
$harvest_utility = \Drupal::service('dkan.harvest.utility');
$harvest_utility->harvestRunsUpdate();
return 'Harvest runs coalesced into table harvest_runs.';
}

0 comments on commit c104b61

Please sign in to comment.