From 0c14c21444114e85f9df24b5c74490f8a09e87f1 Mon Sep 17 00:00:00 2001 From: Mulia Arifandi Nasution Date: Sat, 25 Apr 2015 16:58:19 +0700 Subject: [PATCH] Use databasePath() so we can use in Lumen --- src/Installation/InstallCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Installation/InstallCommand.php b/src/Installation/InstallCommand.php index 3068107..166a36b 100644 --- a/src/Installation/InstallCommand.php +++ b/src/Installation/InstallCommand.php @@ -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')); }