function weight_field_schema in Weight 7.3
Implements hook_field_schema().
File
- ./
weight.install, line 11 - Install, update, and uninstall functions for the Weight module.
Code
function weight_field_schema($field) {
return array(
'columns' => array(
'value' => array(
'type' => 'int',
'not null' => TRUE,
),
),
'indexes' => array(
'value' => array(
'value',
),
),
);
}