You are here

function node_update_7001 in Drupal 7

Rename {node_revisions} table to {node_revision}.

Related topics

File

modules/node/node.install, line 549
Install, update and uninstall functions for the node module.

Code

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