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
if (isset($options['uniqueConstraints']) && ! empty($options['uniqueConstraints'])) {
foreach ($options['uniqueConstraints'] as $name => $definition) {
$columnListSql .= ', ' . $this->getUniqueConstraintDeclarationSQL(
$definition->getQuotedName($this),
$definition
);
$columnListSql .= ', ' . $this->getUniqueConstraintDeclarationSQL($name, $definition);
}
}
......@@ -1630,7 +1627,7 @@ abstract class AbstractPlatform
if (isset($options['indexes']) && ! empty($options['indexes'])) {
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