Allow to configure sql/migrations dir (#459)
This commit is contained in:
parent
efada49f15
commit
59f3b4a738
9 changed files with 28 additions and 9 deletions
|
|
@ -47,7 +47,7 @@ class SqlBuildCommand extends WrappedCommand
|
|||
*/
|
||||
protected function getSubCommandArguments(InputInterface $input)
|
||||
{
|
||||
$defaultSqlDir = sprintf('%s/propel/sql', $this->getApplication()->getKernel()->getRootDir());
|
||||
$defaultSqlDir = $this->getContainer()->getParameter('propel.configuration')['paths']['sqlDir'];
|
||||
|
||||
return array(
|
||||
'--connection' => $this->getConnections($input->getOption('connection')),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue