Because the migrations are meant to be ran back to back. So if you specify the version, that is the version it migrates to. So it must execute all the migration classes.
- Jon On Tue, Dec 16, 2008 at 1:57 PM, Kai Brändle <[email protected]> wrote: > Hello Jon, > > thanks for your answer. > I've never created a Ticket but I will try to do so. > > But I dont understand what the Version-Option in the Task is good for at > the moment?? > > Greetings, Kai > > 2008/12/16 Jonathan Wage <[email protected]> > >> Hmm. This is currently not possible. Maybe we can implement this ability. >> Can you create a ticket? >> >> Thanks, Jon >> >> >> On Tue, Dec 16, 2008 at 8:10 AM, Kai Brändle <[email protected]>wrote: >> >>> Hallo >>> i try do do a lot of migrations to my old database. >>> Now there is the doctrine:migrate tasks which specifies >>> >>> doctrine:migrate [--application[="..."]] [--env="..."] [version] >>> >>> I like to perform only the migrationclass 001_whateverName.php >>> >>> But when I run >>> >>> doctrine:migrate #1 >>> >>> it trys to migrate the second class (002_nextName.php) and the 3rd as >>> well. >>> >>> How can i do it, that only the first class performs ? >>> >>> This is because I have to do some manual changes between 1 and 2 >>> >>> Thanks for any help >>> >>> >>> >>> >>> >> >> >> -- >> Jonathan H. Wage >> Open Source Software Developer & Evangelist >> http://www.jwage.com >> http://www.doctrine-project.org >> http://www.symfony-project.org >> >> >> > > > > -- Jonathan H. Wage Open Source Software Developer & Evangelist http://www.jwage.com http://www.doctrine-project.org http://www.symfony-project.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
