lib/Doctrine/DBAL/Platforms/SQLServerPlatform.php
private function getAlterTableAddDefaultConstraintClause($tableName, Column $column)
    {
        $columnDef         = $column->toArray();
        $columnDef['name'] = $column->getQuotedName($this);

        return 'ADD' . $this->getDefaultConstraintDeclarationSQL($tableName, $columnDef);
    }
private function getAlterTableAddDefaultConstraintClause($tableName, Column $column)
    {
        $columnDef         = $column->toArray();
        $columnDef['name'] = $column->getQuotedName($this);

        return 'ADD' . $this->getDefaultConstraintDeclarationSQL($tableName, $columnDef);
    }
private function getAlterTableAddDefaultConstraintClause ( $ tableName , Column $ column ) { $ columnDef = $ column -> toArray ( ) ; $ columnDef [ 'name' ] = $ column -> getQuotedName ( $ this ) ; return 'ADD' . $ this -> getDefaultConstraintDeclarationSQL ( $ tableName , $ columnDef ) ; }
Returns the SQL clause for adding a default constraint in an ALTER TABLE statement.

@param string $tableName The name of the table to generate the clause for.
@param Column $column    The column to generate the clause for.

@return string
Returns the SQL clause for adding a default constraint in an ALTER TABLE statement .