Re: [sqlalchemy] Re: How to disable the integer col + pk = serial behaviour?

2020-08-05 Thread Mike Bayer
On Wed, Aug 5, 2020, at 9:07 AM, Zsolt Ero wrote: > I'm lost in two places: > > sa.Column( > 'trip_num', > sa.Integer, > sa.Sequence('trip_num_seq', schema='public', optional=True), > primary_key=True, > ) > > > 1. I'm specifying schema='public', yet the sequence gets created under >

[sqlalchemy] Re: How to disable the integer col + pk = serial behaviour?

2020-08-05 Thread Zsolt Ero
I'm lost in two places: sa.Column( 'trip_num', sa.Integer, sa.Sequence('trip_num_seq', schema='public', optional=True), primary_key=True, ) 1. I'm specifying schema='public', yet the sequence gets created under Metadata's schema. 2. I'm trying this optional=True, however all it does is