You are here

function user_relationship_blocks_schema in User Relationships 7

Same name and namespace in other branches
  1. 6 user_relationship_blocks/user_relationship_blocks.install \user_relationship_blocks_schema()

Schema

File

user_relationship_blocks/user_relationship_blocks.install, line 10
User relationship blocks installation

Code

function user_relationship_blocks_schema() {
  $schema['user_relationship_blocks'] = array(
    'fields' => array(
      'bid' => array(
        'type' => 'varchar',
        'length' => 255,
        'not null' => TRUE,
        'default' => '',
      ),
      'size' => array(
        'type' => 'int',
        'unsigned' => TRUE,
        'default' => 10,
      ),
      'sort' => array(
        'type' => 'varchar',
        'length' => 255,
        'default' => 'newest',
      ),
    ),
    'primary key' => array(
      'bid',
    ),
  );
  return $schema;
}