You are here

function block_machine_name_update_7101 in Block Machine Name 7

Change machine name to be primary key and not just index.

File

./block_machine_name.install, line 81
Install, uninstall and schema functions for the Block Machine Name module.

Code

function block_machine_name_update_7101(&$sandbox) {
  db_add_primary_key('block_machine_name_boxes', array(
    'machine_name',
  ));
}