Renames a table.
$table: The current name of the table to be renamed.
$new_name: The new name for the table.
function db_rename_table($table, $new_name) { return Database::getConnection() ->schema() ->renameTable($table, $new_name); }