Edit your schema.ym as you need it then manually add the fields yourself to your existing database just as you defined it in your schema. There is no automatic way to do that with symfony.

Besides, your data you should have now during development should be able to be repopulated through fixtures. If you are making changes that will affect a live system you WANT to do it manually to be able to watch that the changes are right.

On 01/03/2011 03:19, Laxmi wrote:
Hello,

I already wrote the database model in config/doctrine/schema.yml I
want to modify the table structure. what are the steps i need to do to
modify my database with out losing data.

Thanks


--
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

Reply via email to