summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2008-07-06 00:47:56 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2008-07-06 00:47:56 +0000
commit93c706a03bc809e21208cb6e9f76b23ed6d2ff19 (patch)
tree7ef22c33d3f91def664acc5761b62bb06ccb8b80 /lib/sqlalchemy/sql
parent0f42004deeab823398571986ff4a75eb536267ea (diff)
downloadsqlalchemy-93c706a03bc809e21208cb6e9f76b23ed6d2ff19.tar.gz
- re-fixed the fix to the prefixes fix
- removed ancient descriptor() functions from dialects; replaced with Dialect.name - removed similarly ancient sys.modules silliness in Engine.name
Diffstat (limited to 'lib/sqlalchemy/sql')
-rw-r--r--lib/sqlalchemy/sql/compiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py
index 3b82fbdd0..b6da29736 100644
--- a/lib/sqlalchemy/sql/compiler.py
+++ b/lib/sqlalchemy/sql/compiler.py
@@ -788,7 +788,7 @@ class SchemaGenerator(DDLBase):
if column.default is not None:
self.traverse_single(column.default)
- self.append("\nCREATE" + " ".join(table._prefixes) + " TABLE " + self.preparer.format_table(table) + " (")
+ self.append("\n" + " ".join(['CREATE'] + table._prefixes + ['TABLE', self.preparer.format_table(table), "("]))
separator = "\n"