Database Updates
database_updatesLists pending Drupal database updates read-only—runs nothing—so you can verify if module changes left schema behind; apply them with Drush after a backup.
Instructions
List pending database updates (read-only; runs nothing).
Answers "did the modules I just updated leave schema behind?".
Use drush_command("updatedb") (or the drush_updb tool) to apply
them, after a database backup.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "database_updates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||