Merge pull request #1150 from franzliedke/patch-40
Get rid of duplicate code for DROP TABLE in schema grammars.
This commit is contained in:
@@ -224,18 +224,6 @@ class MySQL extends Grammar {
|
||||
return 'RENAME TABLE '.$this->wrap($table).' TO '.$this->wrap($command->name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate the SQL statement for a drop table command.
|
||||
*
|
||||
* @param Table $table
|
||||
* @param Fluent $command
|
||||
* @return string
|
||||
*/
|
||||
public function drop(Table $table, Fluent $command)
|
||||
{
|
||||
return 'DROP TABLE '.$this->wrap($table);
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate the SQL statement for a drop column command.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user