Skip to content

Commit

Permalink
Register db instance
Browse files Browse the repository at this point in the history
  • Loading branch information
Jace Ju committed May 22, 2018
1 parent a72bb16 commit 3bcb653
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/RefreshDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ private function initDatabaseConnection()
$manager->bootEloquent();
$this->container->instance(ConnectionResolverInterface::class, $manager->getDatabaseManager());
$this->container->instance(Manager::class, $manager);
$this->container->instance('db', $manager);
}

/**
Expand Down

0 comments on commit 3bcb653

Please sign in to comment.