Commit 78ab344a authored by Gareth Evans's avatar Gareth Evans Committed by Steve Müller

Only quote in get*SQL() methods

parent 43fb16ef
...@@ -1617,10 +1617,7 @@ abstract class AbstractPlatform ...@@ -1617,10 +1617,7 @@ abstract class AbstractPlatform
if (isset($options['uniqueConstraints']) && ! empty($options['uniqueConstraints'])) { if (isset($options['uniqueConstraints']) && ! empty($options['uniqueConstraints'])) {
foreach ($options['uniqueConstraints'] as $name => $definition) { foreach ($options['uniqueConstraints'] as $name => $definition) {
$columnListSql .= ', ' . $this->getUniqueConstraintDeclarationSQL( $columnListSql .= ', ' . $this->getUniqueConstraintDeclarationSQL($name, $definition);
$definition->getQuotedName($this),
$definition
);
} }
} }
...@@ -1630,7 +1627,7 @@ abstract class AbstractPlatform ...@@ -1630,7 +1627,7 @@ abstract class AbstractPlatform
if (isset($options['indexes']) && ! empty($options['indexes'])) { if (isset($options['indexes']) && ! empty($options['indexes'])) {
foreach ($options['indexes'] as $index => $definition) { foreach ($options['indexes'] as $index => $definition) {
$columnListSql .= ', ' . $this->getIndexDeclarationSQL($definition->getQuotedName($this), $definition); $columnListSql .= ', ' . $this->getIndexDeclarationSQL($index, $definition);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment