diff --git a/src/Illuminate/Database/Schema/SQLiteBuilder.php b/src/Illuminate/Database/Schema/SQLiteBuilder.php index 21b43366efd7..30af7fd150d8 100644 --- a/src/Illuminate/Database/Schema/SQLiteBuilder.php +++ b/src/Illuminate/Database/Schema/SQLiteBuilder.php @@ -11,10 +11,8 @@ class SQLiteBuilder extends Builder */ public function dropAllTables() { - $this->connection->select($this->grammar->compileEnableWriteableSchema()); + unlink($this->connection->getDatabaseName()); - $this->connection->select($this->grammar->compileDropAllTables()); - - $this->connection->select($this->grammar->compileDisableWriteableSchema()); + touch($this->connection->getDatabaseName()); } }