public function on($connection = null)
    {
        $this->schemas = new SchemaManager($this->db->connection($connection));

        return $this;
    }
public function on($connection = null)
    {
        $this->schemas = new SchemaManager($this->db->connection($connection));

        return $this;
    }
public function on ( $ connection = null ) { $ this -> schemas = new SchemaManager ( $ this -> db -> connection ( $ connection ) ) ; return $ this ; }
Select connection to work with.

@param string $connection

@return $this
Select connection to work with .