You are here

function values_update_6100 in Values 6

Implementation of hook_update_N(). Make 'value' field longer (255).

File

./values.install, line 73
Install file for Values module.

Code

function values_update_6100(&$sandbox) {
  $ret = array();
  $spec = array(
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
  );
  db_change_field($ret, 'values_values', 'value', 'value', $spec);
  return $ret;
}