Skip to content

Commit c7ecc0b

Browse files
committed
Fixed issue with Migration always committing to default database.
Extended config notation was returning null in previous format.
1 parent a78b4e6 commit c7ecc0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Support/Migration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ abstract class Migration extends BaseMigration
2929
*/
3030
public function __construct()
3131
{
32-
$this->connectionName = (Config::get('oauth2-server-laravel::oauth2.database') !== 'default') ? Config::get('oauth2-server-laravel::oauth2.database') : null;
32+
$this->connectionName = (Config::get('oauth2.database') !== 'default') ? Config::get('oauth2.database') : null;
3333
}
3434

3535
public function schema()

0 commit comments

Comments
 (0)