Fix model_paths

This commit is contained in:
Thomas Schaaf 2016-02-13 18:10:46 +01:00
commit d6d99be87f
3 changed files with 7 additions and 3 deletions

View file

@ -168,7 +168,7 @@ EOT
return -1;
}
$connectionName = $input->getOption('connection');
$connectionName = $input->getOption('connection') ?: $this->getDefaultConnection();
if ('yml' === $type) {
$loader = $this->getContainer()->get('propel.loader.yaml');