On Mon, 1 Mar 2010, beach_defender wrote:

> My understanding is that if I change the database I then need to
> rebuild YML files, model etc completely.  Is this correct?
> 
> I'm not criticising the process, just trying to understand the best
> approach to this.

Its the other way round: i.e. you define your schema in YAML, from that 
you can rebuild models, generate SQL, etc.

> It would be really cool if I could simply update ot add a single table
> and then rollout those changes only, rather than a complete DB.

You can - that's what migrations in Doctrine are for.

http://www.doctrine-project.org/documentation/cookbook/1_0/en/symfony-and-doctrine-migrations



-- 


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

Reply via email to