Commit b4b9c1f4 authored by AndrewBNZ's avatar AndrewBNZ

Fixes Laravel issue #727 - updated sqlserver grammar file to fix error in primary key function.

parent 639d64c5
......@@ -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