You are here

function role_watchdog_update_7101 in Role Watchdog 7

Same name and namespace in other branches
  1. 7.2 role_watchdog.install \role_watchdog_update_7101()

Add a history id primary key ('hid') to the role_watchdog table

File

./role_watchdog.install, line 83
Install file for Role watchdog.

Code

function role_watchdog_update_7101() {
  db_add_field('role_watchdog', 'hid', array(
    'type' => 'serial',
    'unsigned' => TRUE,
    'not null' => TRUE,
  ), array(
    'primary key' => array(
      'hid',
    ),
  ));
}