You are here

function user_relationships_ui_update_7002 in User Relationships 7

Install {user_relationships_ui_settings} table.

File

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

Code

function user_relationships_ui_update_7002() {
  $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',
      ),
    ),
  );
  db_create_table('user_relationships_ui_settings', $schema['user_relationships_ui_settings']);
}