Skip to content

Commit

Permalink
Merge pull request #64 from mul14/use-databasepath
Browse files Browse the repository at this point in the history
Use databasePath() so we can use in Lumen
  • Loading branch information
adamwathan committed Apr 25, 2015
2 parents 2043d17 + 0c14c21 commit 808adfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Installation/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function publishConfig()
public function publishMigrations()
{
$name = 'create_oauth_identities_table';
$path = $this->laravel['path.database'] . '/migrations';
$path = $this->laravel->databasePath() . '/migrations';
$fullPath = $this->laravel['migration.creator']->create($name, $path);
$this->filesystem->put($fullPath, $this->filesystem->get(__DIR__ . '/../../migrations/create_oauth_identities_table.stub'));
}
Expand Down

0 comments on commit 808adfe

Please sign in to comment.