Skip to content

Commit c8466f5

Browse files
committed
Fixed typo from previous fix, should be $command->columns not $command->$columns.
1 parent b4b9c1f commit c8466f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

laravel/database/schema/grammars/sqlserver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public function primary(Table $table, Fluent $command)
138138
{
139139
$name = $command->name;
140140

141-
$columns = $this->columnize($command->$columns);
141+
$columns = $this->columnize($command->columns);
142142

143143
return 'ALTER TABLE '.$this->wrap($table)." ADD CONSTRAINT {$name} PRIMARY KEY ({$columns})";
144144
}

0 commit comments

Comments
 (0)