You are here

function hms_field_field_schema in HMS Field 7

Implements hook_field_schema().

File

./hms_field.install, line 10
Holds the schema for a hms_field.

Code

function hms_field_field_schema($field) {
  $columns = array(
    'value' => array(
      'type' => 'int',
      'unsigned' => FALSE,
      'not null' => TRUE,
      'default' => 0,
    ),
  );
  return array(
    'columns' => $columns,
  );
}