You are here

function mobile_tools_roles_schema in Mobile Tools 6.2

Same name and namespace in other branches
  1. 6.3 mobile_tools_roles.install \mobile_tools_roles_schema()
  2. 7.2 mobile_tools_roles/mobile_tools_roles.install \mobile_tools_roles_schema()

Implementation of hook_schema().

File

modules/mobile_tools_roles/mobile_tools_roles.install, line 41
Mobile Tools Roles module's install and uninstall code.

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;
}