You are here

function field_conditional_state_update_7100 in Field Conditional States 7

Same name and namespace in other branches
  1. 7.2 field_conditional_state.install \field_conditional_state_update_7100()

Change the field_conditional_state.trigger_values field from varchar to text

File

./field_conditional_state.install, line 72
Install function for the field_conditional_state module.

Code

function field_conditional_state_update_7100() {
  $spec = array(
    'type' => 'text',
    'not null' => TRUE,
    'description' => 'The trigger values.',
  );
  db_change_field('field_conditional_state', 'trigger_values', 'trigger_values', $spec);
}