You are here

function user_relationship_blocks_schema in User Relationships 6

Same name and namespace in other branches
  1. 7 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',
      ),
      'get_account' => array(
        'type' => 'text',
        'not null' => TRUE,
        'size' => 'big',
      ),
    ),
    'primary key' => array(
      'bid',
    ),
  );
  return $schema;
}