Fix in drop db sql

This commit is contained in:
Nabeel Shahzad 2017-12-17 17:01:05 -06:00
parent ddd92c8b37
commit 45d12c82ba

View File

@ -62,7 +62,7 @@ class CreateDatabase extends Command
if ($this->option('reset') === true) {
$cmd = array_merge(
$mysql_cmd,
["-e 'DROP DATABASE IF EXISTS" . config($dbkey . 'database') . "'"]
["-e 'DROP DATABASE IF EXISTS " . config($dbkey . 'database') . "'"]
);
$this->runCommand($cmd);