Last updated December 5, 2012. Created by mikeryan on January 2, 2011.
Edited by Frank Ralf, profelm, kelvincool. Log in to edit this page.
1. I added a migration class to example.inc, but I don't see it when I type drush ms.
Make sure that:
a. The file containing the class definition is in your module's .info file.
b. You have cleared the Drupal cache (e.g., at the command line type drush cc all) - the registry is only rebuilt on a cache clear.
c. You have implemented hook_migrate_api in your example.migrate.inc or example.module file:
<?php
function example_migrate_api() {
$api = array(
'api' => 2,
);
return $api;
}
?>d. You are using an up to date version of Drush.
Comments
migrate-status alias
This should be relatively straightforward, but drush ms is an alias for drush migrate-status.