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
|
|
@ -54,7 +54,7 @@ class MigrationDiffCommand extends WrappedCommand
|
|||
*/
|
||||
protected function getSubCommandArguments(InputInterface $input)
|
||||
{
|
||||
$defaultOutputDir = $this->getApplication()->getKernel()->getRootDir().'/propel/migrations';
|
||||
$defaultOutputDir = $this->getContainer()->getParameter('propel.configuration')['paths']['migrationDir'];
|
||||
|
||||
return array(
|
||||
'--connection' => $this->getConnections($input->getOption('connection')),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue