Re: Hacky fix I had to put in to get Alembic to work with custom type decorators

2014-01-30 Thread Michael Bayer
On Jan 30, 2014, at 1:28 PM, jason.cl...@360pi.com wrote: > I'm wondering if there is a better way of getting around an issue I ran into > with Alembic, what I did is below. > > I have models which have custom type decorators, when I ran alembic it > complained that SafeGuid wasn't on the mode

Re: BigSerial + Alembic

2014-01-30 Thread Michael Bayer
On Jan 30, 2014, at 11:42 AM, jason.cl...@360pi.com wrote: > I'm on my last hurdle with implementing Alembic with our SqlAlchemy models, > and the issue is I can't get Alembic to implement my id column with > BIGSERIAL, it always defaults to SERIAL. I implemented a TypeDecorator on > each of

Hacky fix I had to put in to get Alembic to work with custom type decorators

2014-01-30 Thread jason . clark
I'm wondering if there is a better way of getting around an issue I ran into with Alembic, what I did is below. I have models which have custom type decorators, when I ran alembic it complained that SafeGuid wasn't on the model. I found a post from someone that said the only way around this wa

BigSerial + Alembic

2014-01-30 Thread jason . clark
I'm on my last hurdle with implementing Alembic with our SqlAlchemy models, and the issue is I can't get Alembic to implement my id column with BIGSERIAL, it always defaults to SERIAL. I implemented a TypeDecorator on each of the primary key columns that I want to be BIGSERIAL, the implementa