This commit is contained in:
root 2019-12-19 21:56:33 +08:00
parent 70faa4c510
commit d32fccbff8
2 changed files with 2 additions and 2 deletions

View File

@ -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) {}

View File

@ -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) {}