You are here

function system_update_147 in Drupal 5

Same name and namespace in other branches
  1. 4 database/updates.inc \system_update_147()

File

modules/system/system.install, line 1916

Code

function system_update_147() {
  $ret = array();

  // this update is mysql only, pgsql should get it right in the first try.
  if ($GLOBALS['db_type'] == 'mysql') {
    $ret[] = update_sql("ALTER TABLE {node_revisions} DROP type");
  }
  return $ret;
}