You are here

function easychart_field_schema in Easychart 7.3

Same name and namespace in other branches
  1. 7 easychart.install \easychart_field_schema()
  2. 7.2 easychart.install \easychart_field_schema()

Implements hook_field_schema().

File

./easychart.install, line 19
Easychart 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,
    ),
  );
  return array(
    'columns' => $columns,
  );
}