function services_update_7402 in Services 7.3
Update 7402 adds services_user table so that services can see users created/update by itself.
File
- ./
services.install, line 287 - Install, uninstall and update the Services module.
Code
function services_update_7402() {
$schema['services_user'] = array(
'description' => 'Stores users created/updated by services.',
'fields' => array(
'uid' => array(
'type' => 'int',
'description' => 'User id that has been created by Drupal',
'unsigned' => TRUE,
'not null' => TRUE,
),
'created' => array(
'description' => 'The Unix timestamp when the node was most recently created by services.',
'type' => 'int',
'not null' => TRUE,
'default' => 0,
),
'changed' => array(
'description' => 'The Unix timestamp when the user was most recently updated by services.',
'type' => 'int',
'not null' => TRUE,
'default' => 0,
),
),
);
db_create_table('services_user', $schema['services_user']);
}