You are here

function path_breadcrumbs_update_7214 in Path Breadcrumbs 7.2

Same name and namespace in other branches
  1. 7.3 path_breadcrumbs.install \path_breadcrumbs_update_7214()

Add unique index to field 'machine_name'. Remove field 'disabled' from schema.

File

./path_breadcrumbs.install, line 221
Provides database structure for PATH BREADCRUMBS module.

Code

function path_breadcrumbs_update_7214() {
  db_add_unique_key('path_breadcrumbs', 'machine_name', array(
    'machine_name',
  ));
  db_drop_field('path_breadcrumbs', 'disabled');
}