3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00

Print the name of the migration group being imported/rolled back in farm_migrate Drush commands.

This commit is contained in:
Michael Stenta 2021-09-20 12:10:25 -04:00
parent 9e6b6b0a7f
commit 312d611b64

View file

@ -68,6 +68,7 @@ class FarmMigrateCommands extends MigrateToolsCommands {
$options = [
'group' => $group,
];
$this->logger()->notice(dt('Importing migration group: @group', ['@group' => $group]));
$this->import('', $options);
}
}
@ -85,6 +86,7 @@ class FarmMigrateCommands extends MigrateToolsCommands {
$options = [
'group' => $group,
];
$this->logger()->notice(dt('Rolling back migration group: @group', ['@group' => $group]));
$this->rollback('', $options);
}
}