You are here

bigint.install in Big Integer 7

Install, update and uninstall functions for the bigint module.

File

bigint.install
View source
<?php

/**
 * @file
 * Install, update and uninstall functions for the bigint module.
 */

/**
 * Implements hook_field_schema().
 */
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,
  );
}

Functions

Namesort descending Description
bigint_field_schema Implements hook_field_schema().