You are here

function view_mode_page_update_7102 in View Mode Page 7.2

Add entity_type field to the primary key

File

./view_mode_page.install, line 88
Install the DB table for the View Mode Page module

Code

function view_mode_page_update_7102() {
  $schema = view_mode_page_module_schema();
  db_drop_primary_key('view_mode_page');
  db_add_primary_key('view_mode_page', $schema['view_mode_page']['primary key']);
}