Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


continuing issue no. 7 #11

saggi18dec opened this Issue · 4 comments

3 participants

Ajinder Paulo Vítor S Reis Alessandro Nadalin

yes. configuration is done through config.yml files, but there is an option to provide configuration at runtime in the command.
which is not working properly, and the issue is for that.

Paulo Vítor S Reis

I'm having the same problem! =(

Alessandro Nadalin

@saggi18dec can you please provide some more details?


If i give configuration file path in the command, and give the migrations directory in that file, its not getting changed.

created a file : migrations.yml
and typed:
migrations_dir: /path/to/migrations

and given its path in doctrine:migrations:status --configuration="/path/to/migrations.yml"

now, the path given in migrations.yml is not used for generating migration scripts [version*]

The problem is in /DoctrineMigrationsBundle/Command/DoctrineCommand.php

$dir = $container->getParameter('doctrine_migrations.dir_name');

The above setting gives problem when we pass the configuration in command line arguments such as:

php console doctrine:migrations:status --configuration=/path/to/configuration.yml

the configuration path is overwritten by above mentioned lines.

Alessandro Nadalin

thx for now ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.