You are here

function migrate_update_7001 in Migrate 7.2

Add highwater mark

File

./migrate.install, line 226
Migrate module installation

Code

function migrate_update_7001() {
  if (!db_field_exists('migrate_status', 'highwater')) {
    db_add_field('migrate_status', 'highwater', array(
      'type' => 'varchar',
      'length' => 255,
      'not null' => TRUE,
      'default' => '',
      'description' => 'Highwater mark for detecting updated content',
    ));
  }
  $ret = t('Added highwater column to migrate_status table');
  return $ret;
}