Esempio n. 1
0
 /**
  * {@inheritDoc}
  */
 public function getUniqueConstraintDeclarationSQL($name, Index $index)
 {
     $constraint = parent::getUniqueConstraintDeclarationSQL($name, $index);
     $constraint = $this->_appendUniqueConstraintDefinition($constraint, $index);
     return $constraint;
 }
 /**
  * @group DBAL-1051
  */
 public function testQuotesReservedKeywordInUniqueConstraintDeclarationSQL()
 {
     $index = new Index('select', array('foo'), true);
     $this->assertSame($this->getQuotesReservedKeywordInUniqueConstraintDeclarationSQL(), $this->_platform->getUniqueConstraintDeclarationSQL('select', $index));
 }