You are here

function avatar_selection_update_2 in Avatar Selection 5

Same name and namespace in other branches
  1. 5.2 avatar_selection.install \avatar_selection_update_2()

File

./avatar_selection.install, line 94

Code

function avatar_selection_update_2() {
  $ret = array();
  switch ($GLOBALS['db_type']) {
    case 'mysqli':
    case 'mysql':
      $ret[] = update_sql("ALTER TABLE {avatar_selection} \n        ADD COLUMN og_access varchar(255)");
      break;
    case 'pgsql':
      $ret[] = update_sql("ALTER TABLE {avatar_selection} \n        ADD COLUMN og_access varchar(255)");
      break;
  }
  return $ret;
}