You are here

function migrate_update_7003 in Migrate 7.2

Add lastthroughput column to migrate_status

File

./migrate.install, line 264
Migrate module installation

Code

function migrate_update_7003() {
  $ret = '';
  if (!db_field_exists('migrate_status', 'lastthroughput')) {
    db_add_field('migrate_status', 'lastthroughput', array(
      'type' => 'int',
      'length' => 11,
      'not null' => FALSE,
      'description' => 'Rate of success during most recent completed import (# per minute)',
    ));
  }
  $ret = t('Added lastthroughput column to migrate_status table');
  return $ret;
}