ok, so I think it is that: http://www.symfony-project.org/doctrine/1_2/en/07-Migrations
So I am in section: 'Generating Migrations' -> 'From Database': symfony doctrine:generate-migrations-db frontend And I have an error 'too many arguments' In section: 'Generating Migrations' -> 'From Database': symfony doctrine:generate-migrations-models frontend I have also an error 'too many arguments' What am I doing wrong ? On 12 Maj, 18:05, Jonathan Wage <[email protected]> wrote: > You should check out the documentation for symfony 1.2 :) not 1.0 > > http://www.symfony-project.org/doctrine/1_2/en/ > > - Jon > > > > On Tue, May 12, 2009 at 11:04 AM, dziobacz <[email protected]> wrote: > > > symfony 1.2 and I am noob :) > > > On 12 Maj, 18:02, Jonathan Wage <[email protected]> wrote: > > > What version of symfony are you using? > > > > - Jon > > > > On Tue, May 12, 2009 at 11:01 AM, dziobacz <[email protected]> > > wrote: > > > > > So I did: > > > > > 1. php symfony doctrine:generate-migration frontend profile > > > > I had an error: 'too many arguments given' so I have made: > > > > php symfony doctrine:generate-migration frontend > > > > it was without errors > > > > > 2. php symfony doctrine:generate-migration frontend > > > > 3. php symfony doctrine-migrate frontend > > > > > And I have new table in database 'migration_version' and nothing more > > > > have changed :/ I wanted add new column to my table... :( > > > > > On 12 Maj, 17:26, Jonathan Wage <[email protected]> wrote: > > > > > The command just needs a frontend argument to generate the migration. > > It > > > > > doesn't modify your frontend application. > > > > > > - Jon > > > > > > On Tue, May 12, 2009 at 10:23 AM, dziobacz <[email protected] > > > > > wrote: > > > > > > > I use Doctrine ( I think in Propel will be the same ). I modified > > my > > > > > > schema.yml and I would like to change database now without loosing > > any > > > > > > data. I have found that: > > >http://www.doctrine-project.org/documentation/cookbook/1_0/en/symfony. > > > > .. > > > > > > but there is: > > > > > > ./symfony doctrine:generate-migration frontend AddAuthor > > > > > > > etc. - but I want only modify tables in my database, I don't need > > to > > > > > > modify my frontend application, what should I do ? > > > > > > -- > > > > > Jonathan H. Wage (+1 415 992 5468) > > > > > Open Source Software Developer & Evangelist > > > > > sensiolabs.com | jwage.com | doctrine-project.org | > > symfony-project.org > > > > -- > > > Jonathan H. Wage (+1 415 992 5468) > > > Open Source Software Developer & Evangelist > > > sensiolabs.com | jwage.com | doctrine-project.org | symfony-project.org > > -- > Jonathan H. Wage (+1 415 992 5468) > Open Source Software Developer & Evangelist > sensiolabs.com | jwage.com | doctrine-project.org | 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 -~----------~----~----~----~------~----~------~--~---
