Re: Select a subset of declarative classes to migrate

2015-11-18 Thread Michal Petrucha
On Wed, Nov 18, 2015 at 08:07:09AM -0500, Jon Rosebaugh wrote: > Sure, but declarative classes have a table. > > MyModel.__table__.info['exclude_from_autogen']=True > > (you'll probably want to write a class decorator that sets this, > actually.) Oh, of course. Thanks a lot for the help!

Re: Select a subset of declarative classes to migrate

2015-11-18 Thread Jon Rosebaugh
Sure, but declarative classes have a table. MyModel.__table__.info['exclude_from_autogen']=True (you'll probably want to write a class decorator that sets this, actually.) On Wed, Nov 18, 2015, at 02:59 AM, Michal Petrucha wrote: > On Tue, Nov 17, 2015 at 11:26:41AM -0500, Jon Rosebaugh wrote:

constraint names not as strict as expected

2015-11-18 Thread Chris Frey
In the alembic documentation, there is an entire page devoted to naming constraints: http://alembic.readthedocs.org/en/latest/naming.html So I assumed that if constraints had a naming scheme defined, then those names would be detected if changed. My specific use case is as follows. My

Re: constraint names not as strict as expected

2015-11-18 Thread Mike Bayer
On 11/18/2015 06:41 PM, Chris Frey wrote: > In the alembic documentation, there is an entire page devoted to naming > constraints: > > http://alembic.readthedocs.org/en/latest/naming.html > > So I assumed that if constraints had a naming scheme defined, then > those names would be