File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Illuminate/Database/Console Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ public function handle(ConnectionResolverInterface $connections)
46
46
'platform ' => [
47
47
'config ' => $ this ->getConfigFromDatabase ($ database ),
48
48
'name ' => $ connection ->getDriverTitle (),
49
- 'driver ' => $ connection ->getDriverName (),
49
+ 'connection ' => $ connection ->getName (),
50
50
'version ' => $ connection ->getServerVersion (),
51
51
'open_connections ' => $ this ->getConnectionCount ($ connection ),
52
52
],
@@ -160,7 +160,7 @@ protected function displayForCli(array $data)
160
160
$ this ->newLine ();
161
161
162
162
$ this ->components ->twoColumnDetail ('<fg=green;options=bold> ' .$ platform ['name ' ].'</> ' , $ platform ['version ' ]);
163
- $ this ->components ->twoColumnDetail ('Driver ' , Arr::get ($ platform ['config ' ], 'driver ' ));
163
+ $ this ->components ->twoColumnDetail ('Connection ' , Arr::get ($ platform ['config ' ], 'connection ' ));
164
164
$ this ->components ->twoColumnDetail ('Database ' , Arr::get ($ platform ['config ' ], 'database ' ));
165
165
$ this ->components ->twoColumnDetail ('Host ' , Arr::get ($ platform ['config ' ], 'host ' ));
166
166
$ this ->components ->twoColumnDetail ('Port ' , Arr::get ($ platform ['config ' ], 'port ' ));
You can’t perform that action at this time.
0 commit comments