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
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
Suggestion worked great, I defined a custom type for Upc and it works
perfect.
Thanks much for the advice.
On Wednesday, January 29, 2014 1:22:43 PM UTC-5, Michael Bayer wrote:
>
> for types where you need to fully specify DDL from the ground up you use
> UserDefinedType:
>
>
> http://docs.sqla
Does anyone know how you can get Alembic and Sqlalchemy to deal with custom
types i.e UPC out of the postgres ISN module? I've dealt with this on a
model level, i.e custom type decorator. However, I'd like to have Alembic
generate the proper schema for the table which has the UPC type in it.