You are here

function ldap_servers_update_7206 in Lightweight Directory Access Protocol (LDAP) 7.2

Add LDAP Referrals fields in schema.

File

ldap_servers/ldap_servers.install, line 843
Install, update and uninstall functions for the LDAP API module.

Code

function ldap_servers_update_7206() {
  if (!ldap_servers_db_field_exists('ldap_servers', 'followrefs')) {
    db_add_field('ldap_servers', 'followrefs', [
      'type' => 'int',
      'size' => 'tiny',
      'not null' => FALSE,
      'default' => 0,
    ]);
  }
}