You are here

function variable_store_update_7000 in Variable 7.2

Same name and namespace in other branches
  1. 7 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']);
}