You are here

function field_group_update_7004 in Field Group 7

Update hook to make sure identifier is set as unique key.

File

./field_group.install, line 272
Fieldgroup module install file.

Code

function field_group_update_7004() {
  db_drop_unique_key('field_group', 'identifier');
  db_add_unique_key('field_group', 'identifier', array(
    'identifier',
  ));
}