function _oauthconnector_connections_schema_1 in OAuth Connector 6
Same name and namespace in other branches
- 7 oauthconnector.install \_oauthconnector_connections_schema_1()
2 calls to _oauthconnector_connections_schema_1()
- oauthconnector_schema in ./
oauthconnector.install - Implementation of hook_schema().
- oauthconnector_update_6100 in ./
oauthconnector.install
File
- ./
oauthconnector.install, line 106 - Install, update and uninstall functions for the OAuth Connector module.
Code
function _oauthconnector_connections_schema_1() {
return array(
'description' => t('Stores information about connections between OAuth tokens and Connector connections.'),
'fields' => array(
'tid' => array(
'description' => 'The {oauth_common_token}.tid this connection is related to.',
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
),
'cid' => array(
'description' => t('The external id of a connection.'),
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
),
),
'primary key' => array(
'tid',
),
'indexes' => array(
'tid_cid' => array(
'tid',
'cid',
),
),
);
}