diff --git a/EMigrateCommand.php b/EMigrateCommand.php index 02db472..38e1164 100644 --- a/EMigrateCommand.php +++ b/EMigrateCommand.php @@ -193,6 +193,7 @@ public function beforeAction($action, $params) $this->migrationPath = $tmpMigrationPath; echo "extended with EMigrateCommand by cebe \n\n"; + echo "Active database component (connectionString):\n ".Yii::app()->{$this->connectionID}->connectionString."\n\n"; // check --module parameter if ($action == 'create' && !is_null($this->module)) { diff --git a/changelog.md b/changelog.md index ca84ed4..e7ef622 100644 --- a/changelog.md +++ b/changelog.md @@ -4,6 +4,7 @@ Changelog #### 0.8.0 (to be released) - Enh: #12 added customization of 'migrations' subdirectory via $migrationSubPath (cebe thanks to redguy666) +- Enh: show `connectionString` of active database component (schmunk42) #### 0.7.1 (2012-01-31)