function node_update_7001

7.x node.install node_update_7001()

Rename {node_revisions} table to {node_revision}.

Related topics

File

drupal-7.x/modules/node/node.install, line 548
Install, update and uninstall functions for the node module.

Code

function node_update_7001() {
  db_rename_table('node_revisions', 'node_revision');
}