You are here

function entityform_update_7007 in Entityform 7.2

Add and drop unique index to rename to type_index.

File

./entityform.install, line 244
Sets up the base table for our entity and a table to store information about the entity types.

Code

function entityform_update_7007(&$sandbox) {
  db_drop_index('entityform_type', 'type');
  db_add_index('entityform_type', 'type_index', array(
    'type',
  ));
  return st('Dropping index type name to rename.');
}