You are here

function autoassignrole_update_6003 in Auto Assign Role 6

Same name and namespace in other branches
  1. 6.2 autoassignrole.install \autoassignrole_update_6003()

File

./autoassignrole.install, line 217
The autoassignrole.install file

Code

function autoassignrole_update_6003() {
  $ret = array();
  if (!db_column_exists('autoassignrole_page', 'registration')) {
    $ret[] = update_sql('ALTER TABLE {autoassignrole_page} ADD registration TINYINT default 0');
  }
  return $ret;
}