There is already a solution for migrations in Doctrine:
http://www.phpdoctrine.net/doctrine/manual/new/?chapter=migration


Dave Dash schrieb:
> No, and I'm skeptical that one will.  The problem with datamodels is they
> are still an abstraction from a real database so we're still a ways off from
> having... version controlled data models.  Plus there's all sorts of rules
> for updating data that aren't easily mgratable, e.g. does a column get
> dumped, renamed, recomputed, etc during migration or not?  What about FKs?
> 
> So at the moment I would say no there isn't.
> 
> Personally there's not much appeal for myself (and others that I've talked
> to) since you need faith in such a tool to not put your database out of
> working order ;)
> 
> Personally I keep track of all my SQL alter statements and cut and paste
> them into my staging/production servers when necessary.  It's manual... but
> it's cut and paste too ;)
> 
> On 9/26/07, Jon Busby <[EMAIL PROTECTED]> wrote:
>>
>> Hi Everyone,
>>
>> I know _something_ exists that mimics rails "migrations" but is there
>> some easy way of upgrading the datamodel on production sites without
>> either
>>     1. manually doing it!
>>     2. dumping -> insert -> insert!
>>
>> Thanks!
>>
>> --
>>
>> Thanks,
>>
>> Jon Busby
>> JBtwo Web Development
>>
>> Mobile :: +44 (0)7834 22 8887
>> Office :: +44 (0)208 0900 351
>>
>> http://www.jbtwo.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