Fabfile with support for sqlalchemy-migrate deployments?
- by Chris Reid
I have database migrations (with sqlalchemy-migrate) working well in my dev environment. However, I'm a little stumped about how to integrate this into my deployment process.
I'm using fabric for deployment but having some trouble scripting the migrations part. The path to the to migrations directory in site-packages is dynamic (due to changing egg version number) and I'd rather not hard code my db password into the fabfile.
Does anyone have a fabfile that plays nicely with sqlalchemy-migrate?