public function delete()
    {
        $i = 0;
        foreach ($this->_models as $model) {
            $i += $this->dropTable($model);
        }

        return $i;
    }
public function delete()
    {
        $i = 0;
        foreach ($this->_models as $model) {
            $i += $this->dropTable($model);
        }

        return $i;
    }
public function delete ( ) { $ i = 0 ; foreach ( $ this -> _models as $ model ) { $ i += $ this -> dropTable ( $ model ) ; } return $ i ; }
Drop all tables from database.

@return int
Drop all tables from database .