function _connector_user_schema_1 in Connector 6
Same name and namespace in other branches
- 7 connector.install \_connector_user_schema_1()
2 calls to _connector_user_schema_1()
- connector_schema in ./
connector.install - Implementation of hook_schema().
- connector_update_6001 in ./
connector.install - Implementation of hook_update_N().
File
- ./
connector.install, line 116 - Database and updating for the connector module
Code
function _connector_user_schema_1() {
return array(
'fields' => array(
'uid' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
'description' => 'The id of the user',
),
'primary_connection' => array(
'type' => 'varchar',
'length' => 128,
'not null' => TRUE,
'default' => '',
'description' => 'The primary connection for the user',
),
),
'primary key' => array(
'uid',
),
);
}