function Schema::renameTable
Rename a table.
Parameters
$table: The table to be renamed.
$new_name: The new name for the table.
Overrides Schema::renameTable
File
-
core/
tests/ fixtures/ database_drivers/ module/ corefake/ src/ Driver/ Database/ corefakeWithAllCustomClasses/ Schema.php, line 20
Class
- Schema
- CorefakeWithAllCustomClasses implementation of \Drupal\Core\Database\Schema.
Namespace
Drupal\corefake\Driver\Database\corefakeWithAllCustomClassesCode
public function renameTable($table, $new_name) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.