You are here

function fe_block_schema in Features Extra 7

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

Implements hook_schema().

File

fe_block/fe_block.install, line 10
Install, uninstall and schema hooks for the Features Extra Block module.

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;
}