Skip to content

Commit

Permalink
set the migration connection from --database option
Browse files Browse the repository at this point in the history
  • Loading branch information
Mulkave committed Feb 26, 2015
1 parent 1dd25d1 commit d0f5989
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public function fire()

$path = $this->getMigrationPath();

$this->migrator->setConnection($this->input->getOption('database'));
$this->migrator->run($path, $pretend);

// Once the migrator has run we will grab the note output and send it out to
Expand Down

0 comments on commit d0f5989

Please sign in to comment.