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

This commit is contained in:
AndrewBNZ
2012-06-03 23:51:38 +12:00
parent b4b9c1f442
commit c8466f5766

View File

@@ -138,7 +138,7 @@ class SQLServer extends Grammar {
{
$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})";
}