mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	update
This commit is contained in:
		| @@ -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) {} | ||||
|   | ||||
| @@ -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) {} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user