function easychart_field_schema in Easychart 7
Same name and namespace in other branches
- 7.3 easychart.install \easychart_field_schema()
- 7.2 easychart.install \easychart_field_schema()
Implements hook_field_schema().
File
- ./
easychart.install, line 18 - Easy Chart install file.
Code
function easychart_field_schema($field) {
$columns = array(
'csv' => array(
'type' => 'text',
'size' => 'big',
'not null' => FALSE,
),
'csv_url' => array(
'type' => 'text',
'size' => 'medium',
'not null' => FALSE,
),
'config' => array(
'type' => 'text',
'size' => 'big',
'not null' => FALSE,
),
'stored' => array(
'type' => 'text',
'size' => 'big',
'not null' => FALSE,
),
);
return array(
'columns' => $columns,
);
}