You are here

function saml_sp_update_7000 in SAML Service Provider 7.3

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

Add field for NameID field to database

File

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

Code

function saml_sp_update_7000(&$sandbox) {
  db_add_field('saml_sp_idps', 'nameid_field', array(
    'description' => 'Name of the fields where NameID is stored.',
    'type' => 'varchar',
    'length' => 30,
    'not null' => TRUE,
    'default' => '',
  ));
}