Commit c8466f57 by AndrewBNZ

Fixed typo from previous fix, should be $command->columns not $command->$columns.

parent b4b9c1f4
...@@ -138,7 +138,7 @@ class SQLServer extends Grammar { ...@@ -138,7 +138,7 @@ class SQLServer extends Grammar {
{ {
$name = $command->name; $name = $command->name;
$columns = $this->columnize($command->$columns); $columns = $this->columnize($command->columns);
return 'ALTER TABLE '.$this->wrap($table)." ADD CONSTRAINT {$name} PRIMARY KEY ({$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