Unverified Commit fb523490 authored by Sebastian Castro's avatar Sebastian Castro
Browse files

add log

parent 6de7c6fc
...@@ -76,6 +76,7 @@ class MigrationCommand extends GoGoAbstractCommand ...@@ -76,6 +76,7 @@ class MigrationCommand extends GoGoAbstractCommand
$migrationsToRun = array_slice($this->migrations, $migrationState->getMigrationIndex()); $migrationsToRun = array_slice($this->migrations, $migrationState->getMigrationIndex());
$migrationsToRun = array_unique($migrationsToRun); $migrationsToRun = array_unique($migrationsToRun);
foreach($dbs as $db) { foreach($dbs as $db) {
$this->log("run migration on project " . $db);
foreach($migrationsToRun as $migration) { foreach($migrationsToRun as $migration) {
$this->runCommand($db, $migration); $this->runCommand($db, $migration);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment