Re: Alter boolean column on Oracle

2015-12-11 Thread Ofir Herzas
Hi Mike, I've just checked my code and I noticed that I already use existing_type (not sure what was wrong with the documentation in that aspect). Can you elaborate a bit on specifying custom rules as you mentioned? I tried issuing a drop_constraint before calling the alter_column but that

Re: Alter boolean column on Oracle

2015-12-11 Thread Mike Bayer
On 12/11/2015 04:39 PM, Ofir Herzas wrote: > Hi Mike, > I've just checked my code and I noticed that I already use existing_type > (not sure what was wrong with the documentation in that aspect). > > Can you elaborate a bit on specifying custom rules as you mentioned? > I tried issuing a

RE: Alter boolean column on Oracle

2015-12-10 Thread Ofir Herzas
- From: sqlalchemy-alembic@googlegroups.com [mailto:sqlalchemy-alembic@googlegroups.com] On Behalf Of Mike Bayer Sent: Thursday, December 10, 2015 19:24 To: sqlalchemy-alembic@googlegroups.com Subject: Re: Alter boolean column on Oracle On 12/10/2015 08:39 AM, Ofir Herzas wrote: > I'm trying to

RE: Alter boolean column on Oracle

2015-12-10 Thread Ofir Herzas
@googlegroups.com] On Behalf Of Mike Bayer Sent: Thursday, December 10, 2015 19:24 To: sqlalchemy-alembic@googlegroups.com Subject: Re: Alter boolean column on Oracle On 12/10/2015 08:39 AM, Ofir Herzas wrote: > I'm trying to run an alter_column operation from a Boolean type column > to SmallI

Re: Alter boolean column on Oracle

2015-12-10 Thread Mike Bayer
On 12/10/2015 08:39 AM, Ofir Herzas wrote: > I'm trying to run an alter_column operation from a Boolean type column > to SmallInteger on Oracle. > > According to the documentation: "...Type changes which are against the > SQLAlchemy “schema” types |Boolean| >

Alter boolean column on Oracle

2015-12-10 Thread Ofir Herzas
I'm trying to run an alter_column operation from a Boolean type column to SmallInteger on Oracle. According to the documentation: "...Type changes which are against the SQLAlchemy “schema” types Boolean and Enum