summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-03-12 21:55:43 -0700
committerMike Bayer <mike_mp@zzzcomputing.com>2012-03-12 21:55:43 -0700
commit8abe0a33b48b7be8b64b8e13c0cc3bbdaed02b0f (patch)
treedd151f7a12bf2645e5356271899b30eeef3c9d27
parentdaf8cae3b99686d3d559fd416522076e6959be91 (diff)
downloadalembic-8abe0a33b48b7be8b64b8e13c0cc3bbdaed02b0f.tar.gz
- changelog
- import OrderedSet from sqlalchemy.util
-rw-r--r--CHANGES4
-rw-r--r--alembic/autogenerate.py2
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index f7b049d..7950a13 100644
--- a/CHANGES
+++ b/CHANGES
@@ -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