public function renameTable($from, $to, $schema = null)
    {
        return "RENAME TABLE " . $this->prepareTable($from, $schema) . " TO " . $this->prepareTable($to, $schema);
    }
public function renameTable($from, $to, $schema = null)
    {
        return "RENAME TABLE " . $this->prepareTable($from, $schema) . " TO " . $this->prepareTable($to, $schema);
    }
public function renameTable ( $ from , $ to , $ schema = null ) { return "RENAME TABLE " . $ this -> prepareTable ( $ from , $ schema ) . " TO " . $ this -> prepareTable ( $ to , $ schema ) ; }
Generates SQL for rename table

@param string      $from
@param string      $to
@param null|string $schema

@return string
Generates SQL for rename table