From d0f5989cd5e3caae1889596f7578172e391345eb Mon Sep 17 00:00:00 2001 From: Abed Halawi Date: Thu, 26 Feb 2015 12:57:41 +0200 Subject: [PATCH] set the migration connection from --database option --- src/Vinelab/NeoEloquent/Console/Migrations/MigrateCommand.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Vinelab/NeoEloquent/Console/Migrations/MigrateCommand.php b/src/Vinelab/NeoEloquent/Console/Migrations/MigrateCommand.php index 2b240042..9d39c101 100755 --- a/src/Vinelab/NeoEloquent/Console/Migrations/MigrateCommand.php +++ b/src/Vinelab/NeoEloquent/Console/Migrations/MigrateCommand.php @@ -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