Fixing bugs.
This commit is contained in:
@@ -44,12 +44,15 @@ class Schema {
|
||||
* Drop a database table from the schema.
|
||||
*
|
||||
* @param string $table
|
||||
* @param string $connection
|
||||
* @return void
|
||||
*/
|
||||
public static function drop($table)
|
||||
public static function drop($table, $connection = null)
|
||||
{
|
||||
$table = new Schema\Table($table);
|
||||
|
||||
$table->on($connection);
|
||||
|
||||
// To indicate that the table needs to be dropped, we will run the
|
||||
// "drop" command on the table instance and pass the instance to
|
||||
// the execute method as calling a Closure isn't needed.
|
||||
|
||||
Reference in New Issue
Block a user