You are here

function key_update_7104 in Key 7

Change "storage method" db field to "provider".

File

./key.install, line 166
Install, update and uninstall functions for the Key module.

Code

function key_update_7104() {
  if (db_field_exists('key_config', 'storage_method')) {
    db_change_field('key_config', 'storage_method', 'provider', array(
      'description' => 'The key provider to use.',
      'type' => 'varchar',
      'length' => 255,
      'not null' => TRUE,
      'default' => '',
    ));
  }
}