Re: Updating multiple Postgres schema objects from single SQL Alchemy model

2014-11-18 Thread Nick Retallack
Ok, I'm trying that now. The result is that it tries to delete all of the tables out of prototype and create them all again with no specific schema set. Creating them without a specific schema is what I want, but this patch is useless if it just deletes and creates everything. I think I need

Re: Updating multiple Postgres schema objects from single SQL Alchemy model

2014-11-18 Thread Nick Retallack
Here is the finished product: https://gist.github.com/nickretallack/bb8ca0e37829b4722dd1 It still requires me to edit the schemas out of the migrations after the fact, but at least the interesting work is all handled by alembic. -- You received this message because you are subscribed to the

Re: Updating multiple Postgres schema objects from single SQL Alchemy model

2014-11-17 Thread Nick Retallack
On Monday, November 17, 2014 6:55:49 PM UTC-8, Michael Bayer wrote: for what specifically? Autogenerate will work with whatever data you give it. Send in a target_metadata with what you want to view on the Python side and tailor an include_object() function if you need in order to