You are here

function services_keyauth_update_6003 in Services 7

Same name and namespace in other branches
  1. 6.2 auth/services_keyauth/services_keyauth.install \services_keyauth_update_6003()

File

auth/services_keyauth/services_keyauth.install, line 158
@author Services Dev Team

Code

function services_keyauth_update_6003() {
  db_drop_index('services_timestamp_nonce', 'timestamp');
  db_change_field('services_timestamp_nonce', 'timestamp', 'timestamp', array(
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
  ));
  db_add_index('services_timestamp_nonce', 'timestamp', array(
    'timestamp',
  ));
}