You are here

function system_update_147 in Drupal 4

Same name and namespace in other branches
  1. 5 modules/system/system.install \system_update_147()

File

database/updates.inc, line 806

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;
}