On Sunday 09 August 2009 16:34:49 gizli wrote:
> Hi all,
>
> I am trying to write a reentrant websetup.py for my app. I am using a
> seed database used by other projects as well. Whenever I modify my
> tables and initial data, I have to manually create/insert the
> difference to this seed db. It would be very useful for us if we could
> run setup-app to *update* the seed db rather than create it from
> scratch. Did anyone do this before? What is the recommended way?
>

I think that what you are trying to perform is best solved by sqlalchemy-
migrate (http://code.google.com/p/sqlalchemy-migrate/).
Try to take a look at it.

websetup is probably there only to init the db, not to update it, migrations 
have been created to update databases so it might be a better tool for your 
needs.

Alessandro

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to