[2.0][DDC-236] Enhanced unique constraints to support names. Fixed general issues on XML and YAML exporters. Fixed issues on XML, YAML, Doctrine 1.X and Annotation drivers.
This commit is contained in:
parent
9ad13c4730
commit
9f9cc4870d
@ -447,7 +447,7 @@ class MySqlPlatform extends AbstractPlatform
|
|||||||
|
|
||||||
if (isset($options['uniqueConstraints']) && ! empty($options['uniqueConstraints'])) {
|
if (isset($options['uniqueConstraints']) && ! empty($options['uniqueConstraints'])) {
|
||||||
foreach ($options['uniqueConstraints'] as $index => $definition) {
|
foreach ($options['uniqueConstraints'] as $index => $definition) {
|
||||||
$queryFields .= ', ' . $this->getUniqueIndexDeclarationSql($index, $definition);
|
$queryFields .= ', ' . $this->getUniqueConstraintDeclarationSql($index, $definition);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user