function user_relationship_privatemsg_schema in User Relationships 7
File
- user_relationship_privatemsg/
user_relationship_privatemsg.install, line 10 - Install time hooks for user_relationship_privatemsg module.
Code
function user_relationship_privatemsg_schema() {
$schema['user_relationship_privatemsg'] = array(
'fields' => array(
'urpid' => array(
'type' => 'serial',
'not null' => TRUE,
),
'rtid' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
),
'author' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
),
),
'primary key' => array(
'urpid',
),
'unique keys' => array(
'rtid_author' => array(
'rtid',
'author',
),
),
);
return $schema;
}