diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-03-12 21:55:43 -0700 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-03-12 21:55:43 -0700 |
commit | 8abe0a33b48b7be8b64b8e13c0cc3bbdaed02b0f (patch) | |
tree | dd151f7a12bf2645e5356271899b30eeef3c9d27 | |
parent | daf8cae3b99686d3d559fd416522076e6959be91 (diff) | |
download | alembic-8abe0a33b48b7be8b64b8e13c0cc3bbdaed02b0f.tar.gz |
- changelog
- import OrderedSet from sqlalchemy.util
-rw-r--r-- | CHANGES | 4 | ||||
-rw-r--r-- | alembic/autogenerate.py | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -9,6 +9,10 @@ config file within library usage. [#35] +- [bug] Autogenerate will emit CREATE TABLE + and DROP TABLE directives according to + foreign key dependency order. + - [bug] implement 'tablename' parameter on drop_index() as this is needed by some backends. diff --git a/alembic/autogenerate.py b/alembic/autogenerate.py index 710da8f..ba0ecd9 100644 --- a/alembic/autogenerate.py +++ b/alembic/autogenerate.py @@ -3,7 +3,7 @@ automatically.""" from alembic import util from sqlalchemy.engine.reflection import Inspector -from sqlalchemy.util._collections import OrderedSet +from sqlalchemy.util import OrderedSet from sqlalchemy import schema, types as sqltypes import re |