function mobile_tools_roles_schema in Mobile Tools 7.2
Same name and namespace in other branches
- 6.3 mobile_tools_roles.install \mobile_tools_roles_schema()
- 6.2 modules/mobile_tools_roles/mobile_tools_roles.install \mobile_tools_roles_schema()
Schema for the roles relations table, to keep track of user roles and their mobile counterpart.
File
- mobile_tools_roles/
mobile_tools_roles.install, line 19
Code
function mobile_tools_roles_schema() {
$schema['mobile_tools_roles_relations'] = array(
'fields' => array(
'rid' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
),
'mrid' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
),
),
);
return $schema;
}