function phonefield_field_schema in Phone Field 7
Implements hook_field_schema().
File
- ./phonefield.install, line 11 
- Install file for the phonefield module.
Code
function phonefield_field_schema($field) {
  return array(
    'columns' => array(
      'linklabel' => array(
        'description' => 'Phone link label.',
        'type' => 'varchar',
        'length' => 63,
        'not null' => FALSE,
        'sortable' => TRUE,
      ),
      'phonenumber' => array(
        'description' => 'Phone number.',
        'type' => 'varchar',
        'length' => 63,
        'not null' => FALSE,
        'sortable' => TRUE,
      ),
      'normalized' => array(
        'description' => 'Normalized copy of Phone number.',
        'type' => 'varchar',
        'length' => 63,
        'not null' => FALSE,
        'sortable' => TRUE,
      ),
    ),
  );
}