--- inactive_user.install.orig 2009-05-29 13:47:52.000000000 -0400 +++ inactive_user.install 2009-08-20 00:39:01.000000000 -0400 @@ -29,14 +29,12 @@ function inactive_user_schema() { 'notified_admin' => array( 'description' => t('Admin notifier.'), 'type' => 'int', - 'size' => 'tiny', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0), 'notified_user' => array( 'description' => t('User notifier.'), 'type' => 'int', - 'size' => 'tiny', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0), @@ -108,3 +106,11 @@ function inactive_user_uninstall() { } drupal_set_message(t('Inactive user has been uninstalled.')); } + + +function inactive_user_update_6001() { + $ret1 = array(); + db_change_field($ret, 'inactive_users', 'notified_admin', 'notified_admin', array('description' => t('Admin notifier.'), 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0)); + db_change_field($ret, 'inactive_users', 'notified_user', 'notified_user', array('description' => t('User notifier.'), 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0)); + return $ret1; +} \ No newline at end of file