All pastes #517521 Raw Edit

Gurpartap Singh

public php v1 · immutable
#517521 ·published 2007-05-29 02:13 UTC
rendered paste body
function system_update_6022() {  $ret = array();  switch ($GLOBALS['db_type']) {    case 'pgsql':    case 'mysql':    case 'mysqli':      if (db_table_exists('url_alias')) {        db_add_field($ret, 'active', array('type' => 'int', 'not null' => TRUE, 'default' => 0));      }      break;  }  return $ret;}