Commit 649bfeb5 authored by Craig Mason's avatar Craig Mason Committed by Benjamin Eberlei

Update condition to use CS

parent c724523c
...@@ -256,7 +256,7 @@ class SQLServerPlatform extends AbstractPlatform ...@@ -256,7 +256,7 @@ class SQLServerPlatform extends AbstractPlatform
{ {
$constraint = parent::getCreateIndexSQL($index, $table); $constraint = parent::getCreateIndexSQL($index, $table);
if ($index->isUnique() && $index->isPrimary() === false) { if ($index->isUnique() && !$index->isPrimary()) {
$constraint = $this->_appendUniqueConstraintDefinition($constraint, $index); $constraint = $this->_appendUniqueConstraintDefinition($constraint, $index);
} }
......
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