Schema::renameTable
abstract public function Schema::renameTable
abstract public Schema::renameTable($table, $new_name)
Rename a table.
Parameters
$table: The table to be renamed.
$new_name: The new name for the table.
Throws
\Drupal\Core\Database\SchemaObjectDoesNotExistException If the specified table doesn't exist.