<?php
// $Id: block.install,v 1.8 2007/12/18 12:59:20 dries Exp $
/**
* Implementation of hook_schema().
*/
function block_schema() {
$schema['blocks'] = array(
'description' => t('Stores block settings, such as region and visibility settings.'),
'fields' => array(
'bid' => array(
'type' => 'serial',
'not null' => TRUE,
'description' => t('Primary Key: Unique block ID.'),
),
'module' => array(
'type' => 'varchar',
'length' => 64,
'not null' => TRUE,
'default' => '',
'description' => t("The module from which the block originates; for example, 'user' for the Who's Online block, and 'block' for any custom blocks."),
),
'delta' => array(
'type' => 'varchar',
'length' => 32,
'not null' => TRUE,
'default' => '0',
'description' => t('Unique ID for block within a module.'),
),
'theme' => array(
'type' => 'varchar',
'length' => 64,
'not null' => TRUE,
'default' => '',
'description' => t('The theme under which the block settings apply.'),
),