src/Migrations/Commands/FreshCommand.php
protected function dropDatabase($database)
    {
        $connection = $this->pool->getConnection();
        $database = $database ?? $connection->defaultDatabase;

        $connection->getRawConnection()->dropDatabase($database);
    }
protected function dropDatabase($database)
    {
        $connection = $this->pool->getConnection();
        $database = $database ?? $connection->defaultDatabase;

        $connection->getRawConnection()->dropDatabase($database);
    }
protected function dropDatabase ( $ database ) { $ connection = $ this -> pool -> getConnection ( ) ; $ database = $ database ?? $ connection -> defaultDatabase ; $ connection -> getRawConnection ( ) -> dropDatabase ( $ database ) ; }
Drop all of the database collections.

@param string $database
Drop all of the database collections .