first import
This commit is contained in:
40
sites/all/modules/features_extra/fe_block.install
Normal file
40
sites/all/modules/features_extra/fe_block.install
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Install, uninstall and schema hooks for the Features Extra Block module.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_schema().
|
||||
*/
|
||||
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;
|
||||
}
|
Reference in New Issue
Block a user