Skip to content

Commit

Permalink
Update ShowCommand.php
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell authored Aug 15, 2024
1 parent 15513c4 commit 0524d02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Console/ShowCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ protected function tables(ConnectionInterface $connection, Builder $schema)
'schema' => $table['schema'],
'size' => $table['size'],
'rows' => $this->option('counts')
? $connection->table($table['schema'] ? $table['schema'].'.'.$table['name'] : $table['name'])->count()
? ($connection->table($table['schema'] ? $table['schema'].'.'.$table['name'] : $table['name'])->count())
: null,
'engine' => $table['engine'],
'collation' => $table['collation'],
Expand Down

0 comments on commit 0524d02

Please sign in to comment.