You are here

function ldap_servers_update_7202 in Lightweight Directory Access Protocol (LDAP) 7.2

Same name and namespace in other branches
  1. 8.2 ldap_servers/ldap_servers.install \ldap_servers_update_7202()

Make ldap_servers.bind_method field small int instead of tiny int for ctools bug.

File

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

Code

function ldap_servers_update_7202() {
  db_change_field('ldap_servers', 'bind_method', 'bind_method', [
    'type' => 'int',
    'size' => 'small',
    'not null' => TRUE,
    'default' => 0,
  ]);
}