You are here

function user_relationships_ui_schema in User Relationships 7

@file Installation functions for User Relationships UI module

File

user_relationships_ui/user_relationships_ui.install, line 7
Installation functions for User Relationships UI module

Code

function user_relationships_ui_schema() {
  $schema['user_relationships_ui_settings'] = array(
    'fields' => array(
      'rtid' => array(
        'type' => 'int',
        'not null' => TRUE,
      ),
      'hide' => array(
        'type' => 'int',
        'size' => 'tiny',
        'not null' => TRUE,
      ),
      'show_tab' => array(
        'type' => 'int',
        'size' => 'tiny',
        'not null' => TRUE,
      ),
    ),
    'unique keys' => array(
      'rtid' => array(
        'rtid',
      ),
    ),
  );
  return $schema;
}