On 30 August 2011 07:30, cd34 <[email protected]> wrote: > You might want to take a look at http://code.google.com/p/sqlalchemy-migrate/ > which does a pretty good job handling schema transitions like that.
I've used SQLAlchemy Migrate in a project of mine, and it's quite magic. Also, you don't have to use their versioning stuff and migration script if you don't want. My app is intended for end-users, and I didn't want them to have to run the script to upgrade their databases, so I wrote my own (simple) versioning, and then I just run some upgrade functions that use the migrate.changeset module before the database is loaded. -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail: [email protected] Web: http://www.saturnlaboratories.co.za/ Blog: http://blog.saturnlaboratories.co.za/ Mobile: 082 550 3754 Registered Linux User #333298 (http://counter.li.org) -- You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en.
