You are here

function nodereference_count_field_schema in Nodereference Count 7

Implements hook_field_schema().

File

./nodereference_count.install, line 11
Install, update, and uninstall functions for the nodereference_count module.

Code

function nodereference_count_field_schema($field) {
  return array(
    'columns' => array(
      'count' => array(
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
      ),
    ),
  );
}