diff --git a/app/Console/Commands/V2boardInit.php b/app/Console/Commands/V2boardInit.php index e394fe5d..dcae0839 100644 --- a/app/Console/Commands/V2boardInit.php +++ b/app/Console/Commands/V2boardInit.php @@ -48,7 +48,7 @@ class V2boardInit extends Command abort(500, '数据库文件格式有误'); } foreach($sql as $item) { - echo 'RUN' . $item . "\r\n"; + echo 'RUN ' . $item . "\r\n"; try { DB::select(DB::raw($item)); } catch (\Exception $e) {} diff --git a/app/Console/Commands/V2boardUpdate.php b/app/Console/Commands/V2boardUpdate.php index de84f18c..370875ba 100644 --- a/app/Console/Commands/V2boardUpdate.php +++ b/app/Console/Commands/V2boardUpdate.php @@ -48,7 +48,7 @@ class V2boardUpdate extends Command abort(500, '数据库文件格式有误'); } foreach($sql as $item) { - echo 'RUN' . $item . "\r\n"; + echo 'RUN ' . $item . "\r\n"; try { DB::select(DB::raw($item)); } catch (\Exception $e) {}