You are here

function ldapgroups_update_6001 in LDAP integration 6

File

./ldapgroups.install, line 120
ldapgroups module installation and upgrade code.

Code

function ldapgroups_update_6001() {
  $ret = array();
  db_add_field($ret, 'ldapauth', 'ldapgroups_mappings', array(
    'type' => 'text',
    'not null' => FALSE,
  ));
  db_add_field($ret, 'ldapauth', 'ldapgroups_mappings_filter', array(
    'type' => 'int',
    'size' => 'tiny',
    'not null' => TRUE,
    'default' => '0',
  ));
  db_add_field($ret, 'ldapauth', 'ldapgroups_filter_php', array(
    'type' => 'text',
    'not null' => FALSE,
  ));
  db_add_field($ret, 'ldapauth', 'ldapgroups_groups', array(
    'type' => 'text',
    'not null' => FALSE,
  ));
  return $ret;
}