Gdn_DatabaseStructure::renameTable PHP Method

renameTable() public method

Renames a table in the database.
public renameTable ( string $OldName, string $NewName, boolean $UsePrefix = false )
$OldName string The name of the table to be renamed.
$NewName string The new name for the table being renamed.
$UsePrefix boolean A boolean value indicating if $this->_DatabasePrefix should be prefixed before $OldName and $NewName.
    public function renameTable($OldName, $NewName, $UsePrefix = false)
    {
        trigger_error(errorMessage('The selected database engine does not perform the requested task.', $this->ClassName, 'RenameTable'), E_USER_ERROR);
    }