Skip to content

Commit

Permalink
Merge pull request #20 from schmunk42/patch-connection-string
Browse files Browse the repository at this point in the history
show active database connectionString
  • Loading branch information
cebe committed Apr 15, 2013
2 parents 79b578e + 4a36a66 commit 81075a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions EMigrateCommand.php
Expand Up @@ -193,6 +193,7 @@ public function beforeAction($action, $params)
$this->migrationPath = $tmpMigrationPath;

echo "extended with EMigrateCommand by cebe <mail@cebe.cc>\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)) {
Expand Down
1 change: 1 addition & 0 deletions changelog.md
Expand Up @@ -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)

Expand Down

0 comments on commit 81075a3

Please sign in to comment.