summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/schema.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-03-12 17:33:03 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2014-03-12 17:33:03 -0400
commit36792434c74dea43a0f10f5fe1cc45c4206f01ee (patch)
tree792749694902e82ef088d481fca7a1fa70f7410f /lib/sqlalchemy/schema.py
parenta7ef7eccaacae5341bb03a58cc0538718c33c329 (diff)
downloadsqlalchemy-36792434c74dea43a0f10f5fe1cc45c4206f01ee.tar.gz
- Added a new feature :func:`.schema.conv`, the purpose of which is to
mark a constraint name as already having had a naming convention applied. This token will be used by Alembic migrations as of Alembic 0.6.4 in order to render constraints in migration scripts with names marked as already having been subject to a naming convention. re: #2991
Diffstat (limited to 'lib/sqlalchemy/schema.py')
-rw-r--r--lib/sqlalchemy/schema.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sqlalchemy/schema.py b/lib/sqlalchemy/schema.py
index 9e647e595..8556272a6 100644
--- a/lib/sqlalchemy/schema.py
+++ b/lib/sqlalchemy/schema.py
@@ -37,6 +37,9 @@ from .sql.schema import (
)
+from .sql.naming import conv
+
+
from .sql.ddl import (
DDL,
CreateTable,