Re: how to handle exceptions in alembic migrations?

2014-06-09 Thread Ofir Herzas
My resources are limited so I can't test all possibilities (sqlalchemy version, alembic version, db type and version, etc.) before releasing my migrations so every once in a while I get to a customer and have to do some manual cleaning. Much to my dismay, I'm mostly using MySQL and Oracle so I g

Re: how to handle exceptions in alembic migrations?

2014-06-09 Thread Michael Bayer
On Jun 9, 2014, at 3:10 AM, Ofir Herzas wrote: > > > On Sunday, June 8, 2014 10:09:12 PM UTC+3, Michael Bayer wrote: > > > 2. Sometimes in the development phase, I run the migration but then add > > some other changes and wish to apply them also > > > > I agree that there might be better w

Re: how to handle exceptions in alembic migrations?

2014-06-09 Thread Ofir Herzas
On Sunday, June 8, 2014 10:09:12 PM UTC+3, Michael Bayer wrote: > > > On Jun 8, 2014, at 11:08 AM, Ofir Herzas > > wrote: > > > Hi Michael, > > Thanks for your prompt response and for the great tools you develop. > > > > I have 2 reasons for doing that: > > 1. When I install my application