function services_client_update_7002 in Services Client 7.2
Same name and namespace in other branches
- 7 services_client.install \services_client_update_7002()
Add new {services_client_connection_id} which can store remote client id with each connection.
File
- ./
services_client.install, line 184 - Installation file for services_client module.
Code
function services_client_update_7002() {
$schema['services_client_connection_id'] = array(
'description' => 'Holds ids of remote clients',
'fields' => array(
'name' => array(
'description' => 'The name of the connection.',
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
),
'services_client_id' => array(
'description' => 'ID of remote client.',
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
),
),
'primary key' => array(
'name',
),
);
db_create_table('services_client_connection_id', $schema['services_client_connection_id']);
}