File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/Illuminate/Database/Console Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -148,13 +148,13 @@ protected function displayForCli(array $data)
148148 $ this ->components ->twoColumnDetail ('Tables ' , $ tables ->count ());
149149
150150 if ($ tableSizeSum = $ tables ->sum ('size ' )) {
151- $ this ->components ->twoColumnDetail ('Total Size ' , number_format ($ tableSizeSum / 1024 / 1024 , 2 ).'Mb ' );
151+ $ this ->components ->twoColumnDetail ('Total Size ' , number_format ($ tableSizeSum / 1024 / 1024 , 2 ).'MiB ' );
152152 }
153153
154154 $ this ->newLine ();
155155
156156 if ($ tables ->isNotEmpty ()) {
157- $ this ->components ->twoColumnDetail ('<fg=green;options=bold>Table</> ' , 'Size (Mb ) ' .($ this ->option ('counts ' ) ? ' <fg=gray;options=bold>/</> <fg=yellow;options=bold>Rows</> ' : '' ));
157+ $ this ->components ->twoColumnDetail ('<fg=green;options=bold>Table</> ' , 'Size (MiB ) ' .($ this ->option ('counts ' ) ? ' <fg=gray;options=bold>/</> <fg=yellow;options=bold>Rows</> ' : '' ));
158158
159159 $ tables ->each (function ($ table ) {
160160 if ($ tableSize = $ table ['size ' ]) {
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ protected function displayForCli(array $data)
195195 $ this ->components ->twoColumnDetail ('Columns ' , $ table ['columns ' ]);
196196
197197 if ($ size = $ table ['size ' ]) {
198- $ this ->components ->twoColumnDetail ('Size ' , number_format ($ size / 1024 / 1024 , 2 ).'Mb ' );
198+ $ this ->components ->twoColumnDetail ('Size ' , number_format ($ size / 1024 / 1024 , 2 ).'MiB ' );
199199 }
200200
201201 $ this ->newLine ();
You can’t perform that action at this time.
0 commit comments