Skip to content

Commit

Permalink
Bugfixes
Browse files Browse the repository at this point in the history
- Fix class resolution issue
- Fix missing config issue
  • Loading branch information
Bennett Black committed Nov 8, 2022
1 parent f872d8e commit 3d3abb2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/DB2ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ public function register()

$connector = new DB2Connector();

$connection = new Db2Connection($connector->connect($config));
$connection = new Db2Connection(
$connector->connect($config),
$database,
$prefix,
$config
);

return $connection;
});
Expand Down
1 change: 0 additions & 1 deletion src/Schema/DB2Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace BWICompanies\DB2Driver\Schema;

use BWICompanies\Db2Driver\Schema\DB2Blueprint;
use Closure;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Schema\Builder;
Expand Down

0 comments on commit 3d3abb2

Please sign in to comment.