framework/db/sqlite/QueryBuilder.php
public function renameTable($table, $newName)
    {
        return 'ALTER TABLE ' . $this->db->quoteTableName($table) . ' RENAME TO ' . $this->db->quoteTableName($newName);
    }
public function renameTable($table, $newName)
    {
        return 'ALTER TABLE ' . $this->db->quoteTableName($table) . ' RENAME TO ' . $this->db->quoteTableName($newName);
    }
public function renameTable ( $ table , $ newName ) { return 'ALTER TABLE ' . $ this -> db -> quoteTableName ( $ table ) . ' RENAME TO ' . $ this -> db -> quoteTableName ( $ newName ) ; }
Builds a SQL statement for renaming a DB table.

@param string $table the table to be renamed. The name will be properly quoted by the method.
@param string $newName the new table name. The name will be properly quoted by the method.
@return string the SQL statement for renaming a DB table.
Builds a SQL statement for renaming a DB table .