Get rid of duplicate code for DROP TABLE in schema grammars.
This commit is contained in:
@@ -213,18 +213,6 @@ class SQLite extends Grammar {
|
||||
return 'ALTER TABLE '.$this->wrap($table).' RENAME 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 unique key command.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user