db_rename_table
- Versions
- 6
db_rename_table(&$ret, $table, $new_name)- 7
db_rename_table($table, $new_name)
Rename a table.
Parameters
$table The table to be renamed.
$new_name The new name for the table.
Related topics
Code
includes/database/database.inc, line 2365
<?php
function db_rename_table($table, $new_name) {
return Database::getConnection()->schema()->renameTable($table, $new_name);
}
?>Login or register to post comments 