public function rename($new_name, $exec = true) {
        $query = $this->schema->renameTable($this->name, $new_name, $exec);
        $this->name = $new_name;
        return ($exec) ? $this : $query;
    }
public function rename($new_name, $exec = true) {
        $query = $this->schema->renameTable($this->name, $new_name, $exec);
        $this->name = $new_name;
        return ($exec) ? $this : $query;
    }
public function rename ( $ new_name , $ exec = true ) { $ query = $ this -> schema -> renameTable ( $ this -> name , $ new_name , $ exec ) ; $ this -> name = $ new_name ; return ( $ exec ) ? $ this : $ query ; }
rename this table
@param string $new_name
@param bool $exec
@return $this|bool
rename this table