支持多数据库
This commit is contained in:
parent
0fed8e8816
commit
cf3f98d59a
|
@ -92,7 +92,7 @@ abstract class Command extends \think\console\Command
|
||||||
protected function getConfig($name, $default = null)
|
protected function getConfig($name, $default = null)
|
||||||
{
|
{
|
||||||
$config = Config::pull('migration');
|
$config = Config::pull('migration');
|
||||||
return isset($config[$name]) ? $config[$name] : $default;
|
return $config[$name] ?? $default;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function verifyMigrationDirectory($path)
|
protected function verifyMigrationDirectory($path)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user