You are here

function bigint_field_schema in Big Integer 7

Implements hook_field_schema().

File

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

Code

function bigint_field_schema($field) {
  switch ($field['type']) {
    case 'number_bigint':
      $columns = array(
        'value' => array(
          'type' => 'int',
          'size' => 'big',
          'not null' => FALSE,
        ),
      );
      break;
  }
  return array(
    'columns' => $columns,
  );
}