[sqlalchemy] Stand-alone Sequences are not created by create_all

2016-01-27 Thread Chris Macklin
If I declare a Sequence at the class level in a model class declaration using declarative (SQLAlchemy 0.9.10 on postgres), the sequence is not created by create_all unless the sequence is explicitly associated with a Column. My use case is a column which stores a URI; if a row is inserted

Re: [sqlalchemy] Stand-alone Sequences are not created by create_all

2016-01-27 Thread Chris Macklin
that makes it clear *how* to achieve this association. On Wed, Jan 27, 2016 at 11:49 AM, Simon King <si...@simonking.org.uk> wrote: > > > On 27 Jan 2016, at 18:59, Chris Macklin <chris.mack...@gmail.com> wrote: > > > > If I declare a Sequence at the class level in