You are here

function conditional_fields_update_6002 in Conditional Fields 6.2

Add primary key to table

File

./conditional_fields.install, line 65
Install, update and uninstall functions for the Conditional Fields module.

Code

function conditional_fields_update_6002() {
  $ret = array();
  db_add_primary_key($ret, 'conditional_fields', array(
    'control_field_name',
    'field_name',
    'type',
  ));
  return $ret;
}