Thanks Michael.

I have just finished writing a basic table & column name and type checker 
using MetaData.reflect(), but compare_metadata() looks like a much better 
way to go.

Cheers

On Tuesday, 10 February 2015 14:05:27 UTC+13, Michael Bayer wrote:
>
>
> You’re actually doing something that they are starting to do in Openstack, 
> so luckily I can confirm this is feasible. 
>
> You want to use the autogenerate API directly. Call upon compare_metadata 
> documented at 
> http://alembic.readthedocs.org/en/latest/api.html#autogeneration. 
> Ideally, 
> if “diff == []”, then there’s no changes. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy-alembic" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to