You are here

function fe_block_schema in Features Extra 6

Same name and namespace in other branches
  1. 7 fe_block/fe_block.install \fe_block_schema()

Implementation of hook_schema().

File

./fe_block.install, line 31

Code

function fe_block_schema() {
  $schema['fe_block_boxes'] = array(
    'description' => '',
    'export' => array(
      'key' => 'machine_name',
      'can disable' => FALSE,
    ),
    'fields' => array(
      'bid' => array(
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
        'default' => 0,
        'no export' => TRUE,
      ),
      'machine_name' => array(
        'description' => 'machine_name',
        'type' => 'varchar',
        'length' => 32,
        'not null' => TRUE,
        'default' => '',
      ),
    ),
    'indexes' => array(
      'machine_name' => array(
        'machine_name',
      ),
    ),
    'primary key' => array(
      'bid',
    ),
  );
  return $schema;
}