Skip to content

Commit cc61288

Browse files
committed
formatting
1 parent 12d6a4e commit cc61288

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/Illuminate/Database/Schema/Builder.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,20 @@ public function dropIfExists($table)
226226
}));
227227
}
228228

229+
/**
230+
* Drop columns from a table schema.
231+
*
232+
* @param string $table
233+
* @param string|array $columns
234+
* @return void
235+
*/
236+
public function dropColumns($table, $columns)
237+
{
238+
$this->table($table, function (Blueprint $blueprint) use ($columns) {
239+
$blueprint->dropColumn($columns);
240+
});
241+
}
242+
229243
/**
230244
* Drop all tables from the database.
231245
*
@@ -405,18 +419,4 @@ public function blueprintResolver(Closure $resolver)
405419
{
406420
$this->resolver = $resolver;
407421
}
408-
409-
/**
410-
* Drop columns from a table schema.
411-
*
412-
* @param string $table
413-
* @param string|array $columns
414-
* @return void
415-
*/
416-
public function dropColumns($table, $columns)
417-
{
418-
$this->table($table, function (Blueprint $blueprint) use ($columns) {
419-
$blueprint->dropColumn($columns);
420-
});
421-
}
422422
}

0 commit comments

Comments
 (0)