| 6 database.pgsql.inc | db_rename_table(&$ret, $table, $new_name) |
| 6 database.mysql-common.inc | db_rename_table(& |
| 7 database.inc | db_rename_table($table, $new_name) |
| 8 database.inc | db_rename_table($table, $new_name) |
Renames a table.
Parameters
$table: The table to be renamed.
$new_name: The new name for the table.
Related topics
14 calls to db_rename_table()
File
- includes/
database/ database.inc, line 2773 - Core systems for the database layer.
Code
function db_rename_table($table, $new_name) {
return Database::getConnection()->schema()->renameTable($table, $new_name);
}
Login or register to post comments