Commit c1de1d61 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #728 from AndrewBNZ/master

Fix in sqlserver grammar primary key function
parents 639d64c5 b4b9c1f4
......@@ -138,7 +138,7 @@ class SQLServer extends Grammar {
{
$name = $command->name;
$columns = $this->columnize($columns);
$columns = $this->columnize($command->$columns);
return 'ALTER TABLE '.$this->wrap($table)." ADD CONSTRAINT {$name} PRIMARY KEY ({$columns})";
}
......
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