function flexiform_update_7002 in Flexiform 7
Add the group field to flexiforms.
File
- ./
flexiform.install, line 191 - Sets up the base table for our entity and a table to store information about the entity types.
Code
function flexiform_update_7002() {
$spec = array(
'description' => 'The group that this flexiform belongs to.',
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => 'general',
);
$keys = array(
'indexes' => array(
'form_group' => array(
'form_group',
),
),
);
db_add_field('flexiform', 'form_group', $spec, $keys);
}