Skip to content

Commit

Permalink
Update 2015_01_20_181911_create_event_store_table.php
Browse files Browse the repository at this point in the history
  • Loading branch information
LavaToaster committed Dec 10, 2018
1 parent 86017bc commit b2f2e8d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions migrations/2015_01_20_181911_create_event_store_table.php
Expand Up @@ -20,8 +20,7 @@ public function __construct()
$this->eventStoreConnection = Config::get('broadway.event-store.connection', 'default');

if ($this->eventStoreConnection === 'default') {
$config = app(\Illuminate\Config\Repository::class);
$this->eventStoreConnection = $config->get('database.default');
$this->eventStoreConnection = null;
}
}

Expand Down

0 comments on commit b2f2e8d

Please sign in to comment.