function machine_name_field_schema in Machine name 7
Same name and namespace in other branches
- 7.2 machine_name.install \machine_name_field_schema()
Implements hook_field_schema().
File
- ./
machine_name.install, line 11 - Install, update and uninstall functions for the machine_name module.
Code
function machine_name_field_schema($field) {
$schema['columns'] = array(
'value' => array(
'type' => 'varchar',
'length' => 128,
'not null' => TRUE,
'default' => '',
),
);
$schema['indexes'] = array(
'value' => array(
'value',
),
);
return $schema;
}