Re: [sqlalchemy] non-table DDL elements and MetaData objects

2015-12-02 Thread Mike Bayer
On 12/02/2015 02:13 AM, Chris Withers wrote: > On 02/12/2015 00:08, Mike Bayer wrote: >> On 12/01/2015 02:49 PM, Chris Withers wrote: >>> - once at 'database creation' time, so set up some stored >>> procedures. (I know SQLAlchemy doesn't create databases itself, so >>> interested in

Re: [sqlalchemy] non-table DDL elements and MetaData objects

2015-12-01 Thread Jonathan Vanasco
I think this story may have some related info - https://bitbucket.org/zzzeek/sqlalchemy/issues/3442/no-control-of-ddl-sequences-for-indexes-fk disclaimer -- I merely saw this earlier today and remembered it when seeing this post. -- You received this message because you are subscribed to

Re: [sqlalchemy] non-table DDL elements and MetaData objects

2015-12-01 Thread Chris Withers
Does the .listen example there work or does it need the patch to land? On 01/12/2015 21:47, Jonathan Vanasco wrote: I think this story may have some related info - https://bitbucket.org/zzzeek/sqlalchemy/issues/3442/no-control-of-ddl-sequences-for-indexes-fk disclaimer -- I merely saw this

Re: [sqlalchemy] non-table DDL elements and MetaData objects

2015-12-01 Thread Mike Bayer
On 12/01/2015 02:49 PM, Chris Withers wrote: > On Tue, Dec 1, 2015 at 8:17 AM, Chris Withers > <ch...@simplistix.co.uk> wrote: >> >> I'm also looking for two events to listen to: >> >> - once at 'database creation' time, so set up some stored >>

Re: [sqlalchemy] non-table DDL elements and MetaData objects

2015-12-01 Thread Jonathan Vanasco
On Tuesday, December 1, 2015 at 5:02:28 PM UTC-5, Chris Withers wrote: > > Does the .listen example there work or does it need the patch to land? > The ticket is still open, so the patch is probably needed (and looks to be Michael's first attempt at making something pass). -- You received

Re: [sqlalchemy] non-table DDL elements and MetaData objects

2015-12-01 Thread Chris Withers
On 02/12/2015 00:08, Mike Bayer wrote: On 12/01/2015 02:49 PM, Chris Withers wrote: - once at 'database creation' time, so set up some stored procedures. (I know SQLAlchemy doesn't create databases itself, so interested in the correct approach for this) So, thinking this

Re: [sqlalchemy] non-table DDL elements and MetaData objects

2015-12-01 Thread Chris Withers
On Tue, Dec 1, 2015 at 8:17 AM, Chris Withers > wrote: I'm also looking for two events to listen to: - once at 'database creation' time, so set up some stored procedures. (I know SQLAlchemy doesn't create databases itself, so