Skip to content

Commit

Permalink
add dropColumns method on the schema class
Browse files Browse the repository at this point in the history
  • Loading branch information
imanghafoori1 committed Oct 7, 2020
1 parent fc600c4 commit 12d6a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Schema/Builder.php
Expand Up @@ -415,7 +415,7 @@ public function blueprintResolver(Closure $resolver)
*/
public function dropColumns($table, $columns)
{
$this->table($table, function (Blueprint $blueprint) use ($table, $columns) {
$this->table($table, function (Blueprint $blueprint) use ($columns) {
$blueprint->dropColumn($columns);
});
}
Expand Down

0 comments on commit 12d6a4e

Please sign in to comment.