You are here

function field_test_field_schema in SimpleTest 7

Implement hook_field_schema().

File

tests/field_test.module, line 388

Code

function field_test_field_schema($field) {
  return array(
    'columns' => array(
      'value' => array(
        'type' => 'int',
        'size' => 'tiny',
        'not null' => FALSE,
      ),
    ),
    'indexes' => array(
      'value' => array(
        'value',
      ),
    ),
  );
}