Nice tip - I didn't know that feature existed Looks like the same works for Doctrine too :)
I'll definitely be using that in future On 15 Mar 2009, at 18:04, Yevgeniy A. Viktorov wrote: > > > I do same as maestro wrote, also you can specify the models you would > like to get fixtures for, i.e: > symfony propel:data-dump --classes="BlogPost,BlogComment" frontend > > Thanks. > > maestro wrote: >> I usually use symfony propel:data-dump > fixture.yml. Then edit the >> file if i have to. >> >> On Mar 14, 2:59 am, Java Guy <steve.san...@gmail.com> wrote: >> >>> Is there a task or method anyone knows of to generate a fixture >>> from a >>> plugin? >>> >>> I've got some initial data I've put into my database using a >>> fixture? >>> But some of it needs tweaking, and after tweaking, I'd like to regen >>> the file. Tweaking it in the database makes life quite a bit >>> simpler. >>> >>> If all else fails, I'll just write a script to do this. >>> >>> Thanks, >>> Steve >>> >>> >> >> > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---