This project is not covered by Drupal’s security advisory policy.

When migrate from Drupal 6 to Drupal 7, there are several tables in Drupal 6 which is the same as Drupal 7.
What I need do is copy it from Drupal6 to Drupal7. So I decide write a general module base on migrate to solve this issue.

If I migrate uc_addresses from Drupal 6 to Drupal 7, base on this module, it is very easy:

  $common_arguments = array(
    'source_connection' => 'legacy',
    'source_version' => 6,
    'group_name' => 'zhbc_group',
  );

  $uc_addresses_arguments = $common_arguments + array(
    'description' => t('Migration of uc_addresses table from Drupal 6'),
    'machine_name' => 'UcAddresses',
    'table_name' => 'uc_addresses',
  );

  Migration::registerMigration('DrupalTableMigration', $uc_addresses_arguments['machine_name'],
                               $uc_addresses_arguments);

You do not need to write a Migration at here.

Project information

Releases