You are here

function ldap_query_update_7101 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_7101()
  2. 7 ldap_query/ldap_query.install \ldap_query_update_7101()

Make filter field type 'text' for longer filters.

File

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

Code

function ldap_query_update_7101() {
  db_change_field('ldap_query', 'filter', 'filter', [
    'type' => 'text',
    'not null' => FALSE,
  ]);
  return t('ldap_query table field "filter" changed to type "text"');
}