Merge pull request #752 from AndrewBNZ/master
Fixed typo from previous fix in sqlserver grammar, primary key function.
This commit is contained in:
commit
ba4271c999
|
@ -138,7 +138,7 @@ public function primary(Table $table, Fluent $command)
|
|||
{
|
||||
$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})";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue