规范代码

This commit is contained in:
thinkphp
2016-12-24 21:37:05 +08:00
parent 81bde424be
commit 43b364e286
45 changed files with 106 additions and 195 deletions

View File

@@ -50,7 +50,7 @@ class Schema extends Command
}
$output->writeln('<info>Succeed!</info>');
return;
} else if ($input->hasOption('table')) {
} elseif ($input->hasOption('table')) {
$table = $input->getOption('table');
if (!strpos($table, '.')) {
$dbName = Db::getConfig('database');