Commit e8b60d76 authored by Juozas Kaziukenas's avatar Juozas Kaziukenas

Removed getColumnDeclarationSQL()

parent 109b1fd6
......@@ -95,24 +95,6 @@ class MsSqlPlatform extends AbstractPlatform
return 'DROP DATABASE ' . $name;
}
/**
* @override
*/
public function getColumnDeclarationSQL($name, array $field)
{
$declaration = parent::getColumnDeclarationSQL($name, $field);
$name = substr($declaration, 0, strpos($declaration, ' '));
$spec = substr($declaration, strpos($declaration, ' ')+1);
if (strpos($name, '[') === false)
{
$name = $this->quoteIdentifier($name);
}
return $name . ' ' . $spec;
}
/**
* @override
*/
......
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