You are here

function saml_sp_update_7001 in SAML Service Provider 7.8

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

Change x509 certificate column type from varchar to text

File

./saml_sp.install, line 158
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,
  ));
}