You are here

function variable_store_update_7000 in Variable 7

Same name and namespace in other branches
  1. 7.2 variable_store/variable_store.install \variable_store_update_7000()

Reduce realm key field length so it can be used on the primary key

File

variable_store/variable_store.install, line 61
Variable API module install file

Code

function variable_store_update_7000() {
  $schema = variable_store_schema();
  db_change_field('variable_store', 'realm_key', 'realm_key', $schema['variable_store']['fields']['realm_key']);
}