You can dump all data in your database using:
php symfony doctrine:data-dump

and then load it using:
php symfony doctrine:data-load

if you changed your schema maybe, you'll have to check the /data/
fixtures/data.yml file and correct wrong column names.

On 24 bře, 07:20, Parijat Kalia <[email protected]> wrote:
> Hey,
>
> So we all know that when you create new tables with Symfony in the database,
> it will delete all the existing data in the database.
>
> I don't want that to happen. Is symfony trying to tell me that there is no
> way around this? That I absolutely must loose all my data so as to be able
> to add new data? OMG!
>
> I am sure we have a solution for this. Please can anyone guide me. I'll
> appreciate all responses
>
> Parijat Kalia

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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

To unsubscribe from this group, send email to 
symfony-users+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to