/**
  * {@inheritdoc}
  */
 public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform)
 {
     //        $field['length'] = 16;
     //        $field['fixed']  = true;
     //
     //        // TODO: Would prefer to allow $fieldDeclaration to override $field, but fixed = false is being passed in somewhere
     //        $fieldDeclaration = array_merge($fieldDeclaration, $field);
     //
     //        return $platform->getBinaryTypeDeclarationSQL($fieldDeclaration);
     return $platform->getGuidTypeDeclarationSQL($fieldDeclaration);
 }
Exemple #2
0
 public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform)
 {
     return $platform->getGuidTypeDeclarationSQL($fieldDeclaration);
 }
 /**
  * @group DBAL-423
  *
  * @expectedException \Doctrine\DBAL\DBALException
  */
 public function testReturnsGuidTypeDeclarationSQL()
 {
     $this->_platform->getGuidTypeDeclarationSQL(array());
 }