contrib-jrockowitz/fieldset_helper/fieldset_helper.install, line 36
fieldset_helper_schema()Implementation of hook_schema().
<?php
function fieldset_helper_schema() {
// Learn more at http://api.drupal.org/api/function/hook_schema
return array(
'fieldset_helper_state_manager' => array(
'description' => t("Table to save a short numeric lookup id for a DOM element"),
'fields' => array(
'id' => array(
'description' => 'The unique id',
'type' => 'serial', // auto increment
'unsigned' => TRUE,
'not null' => TRUE,
),
'path' => array(
'description' => "A drupal path",
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
),
'element_id' => array(
'description' => "The unique DOM element id.",
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
),
),
'primary key' => array('id'),
'indexes' => array(
'path' => array('path'),
)
),
);
}
?>