diff --git a/laravel/database/schema/grammars/grammar.php b/laravel/database/schema/grammars/grammar.php index 26b9fe12..c33d8dd7 100644 --- a/laravel/database/schema/grammars/grammar.php +++ b/laravel/database/schema/grammars/grammar.php @@ -50,6 +50,18 @@ public function foreign(Table $table, Fluent $command) return $sql; } + /** + * 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); + } + /** * Drop a constraint from the table. * diff --git a/laravel/database/schema/grammars/mysql.php b/laravel/database/schema/grammars/mysql.php index 87d83a4e..93b22a4e 100644 --- a/laravel/database/schema/grammars/mysql.php +++ b/laravel/database/schema/grammars/mysql.php @@ -224,18 +224,6 @@ public function rename(Table $table, Fluent $command) 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. * diff --git a/laravel/database/schema/grammars/postgres.php b/laravel/database/schema/grammars/postgres.php index 36d47fd9..1382acc5 100644 --- a/laravel/database/schema/grammars/postgres.php +++ b/laravel/database/schema/grammars/postgres.php @@ -210,18 +210,6 @@ public function rename(Table $table, Fluent $command) 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 column command. * diff --git a/laravel/database/schema/grammars/sqlite.php b/laravel/database/schema/grammars/sqlite.php index 4eae9151..975c4137 100644 --- a/laravel/database/schema/grammars/sqlite.php +++ b/laravel/database/schema/grammars/sqlite.php @@ -213,18 +213,6 @@ public function rename(Table $table, Fluent $command) 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. * diff --git a/laravel/database/schema/grammars/sqlserver.php b/laravel/database/schema/grammars/sqlserver.php index 20a6527d..a9164fd6 100644 --- a/laravel/database/schema/grammars/sqlserver.php +++ b/laravel/database/schema/grammars/sqlserver.php @@ -224,18 +224,6 @@ public function rename(Table $table, Fluent $command) 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 column command. *