function form_builder_schema in Form Builder 6
Implementation of hook_schema().
File
- ./
form_builder.install, line 43
Code
function form_builder_schema() {
$schema = array();
$schema['form_builder_cache'] = array(
'fields' => array(
'sid' => array(
'type' => 'varchar',
'length' => '64',
'not null' => FALSE,
),
'form_id' => array(
'type' => 'varchar',
'length' => '128',
'not null' => FALSE,
),
'type' => array(
'type' => 'varchar',
'length' => '32',
'not null' => FALSE,
),
'updated' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
'disp-width' => '10',
),
'data' => array(
'type' => 'blob',
'not null' => FALSE,
'size' => 'big',
),
),
'indexes' => array(
'sid_obj_name' => array(
'sid',
'type',
'form_id',
),
'updated' => array(
'updated',
),
),
);
return $schema;
}