You are here

function ldap_query_update_7102 in Lightweight Directory Access Protocol (LDAP) 7.2

Same name and namespace in other branches
  1. 8.2 ldap_query/ldap_query.install \ldap_query_update_7102()

Make ldap_query.scope field small int instead of tiny int for ctools bug.

File

ldap_query/ldap_query.install, line 104
Install, update and uninstall functions for the LDAP API module.

Code

function ldap_query_update_7102() {
  db_change_field('ldap_query', 'scope', 'scope', [
    'type' => 'int',
    'size' => 'small',
    'not null' => TRUE,
    'default' => 0,
  ]);
}