Skip to content

Commit 5820e8e

Browse files
bryantyanpatrickbrouwers
authored andcommitted
fix bug (#48)
when use lumen 'config/migrations.php' file configure invalid
1 parent e39fb35 commit 5820e8e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/MigrationsServiceProvider.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ public function register()
6262
*/
6363
protected function mergeConfig()
6464
{
65+
if ($this->isLumen()) {
66+
$this->app->configure('migrations');
67+
}
68+
6569
$this->mergeConfigFrom(
6670
$this->getConfigPath(), 'migrations'
6771
);

0 commit comments

Comments
 (0)