Skip to content

Commit 0279aa2

Browse files
committed
readme changed.
1 parent f0a307d commit 0279aa2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Providers/MigrationGeneratorServiceProvider.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ static function (Application $app, array $params) {
136136
'sqlite' => 'pdo_sqlite',
137137
'pgsql' => 'pdo_pgsql',
138138
];
139-
139+
140140
$key = 'connectionName';
141141
if (!array_key_exists($key, $params)) {
142142
throw new \InvalidArgumentException('missing key '.$key.' in params.');
@@ -159,9 +159,6 @@ static function (Application $app, array $params) {
159159
'driver' => $dbConfig['driver'],
160160
];
161161
$connection = DriverManager::getConnection($connectionParams);
162-
if ($connectionParams['driver'] === 'pgsql') {
163-
dd($connectionParams);
164-
}
165162

166163
return new MigrationGenerator(
167164
$app->make(DefinitionResolverInterface::class, ['connection' => $connection]),

0 commit comments

Comments
 (0)