You are here

function saml_sp_update_7001 in SAML Service Provider 7.3

Same name and namespace in other branches
  1. 7.8 saml_sp.install \saml_sp_update_7001()
  2. 7.2 saml_sp.install \saml_sp_update_7001()

Change x509 certificate column type from varchar to text

File

./saml_sp.install, line 181
Hook_requirements for the SAML Service Provider module.

Code

function saml_sp_update_7001(&$sandbox) {
  db_change_field('saml_sp_idps', 'x509_cert', 'x509_cert', array(
    'type' => 'text',
    'not null' => TRUE,
  ));
}