Doctrine\DBAL\Platforms\SQLServerPlatform::generateDefaultConstraintName PHP Method

generateDefaultConstraintName() private method

Returns a unique default constraint name for a table and column.
private generateDefaultConstraintName ( string $table, string $column ) : string
$table string Name of the table to generate the unique default constraint name for.
$column string Name of the column in the table to generate the unique default constraint name for.
return string
    private function generateDefaultConstraintName($table, $column)
    {
        return 'DF_' . $this->generateIdentifierName($table) . '_' . $this->generateIdentifierName($column);
    }
SQLServerPlatform