You are here

function vat_number_field_schema in VAT Number 7

File

./vat_number.install, line 8

Code

function vat_number_field_schema($field) {
  $columns = array(
    'value' => array(
      'description' => 'VAT Number',
      'type' => 'varchar',
      'length' => 255,
      'not null' => TRUE,
    ),
  );
  $indexes = array(
    'value' => array(
      'value',
    ),
  );
  return array(
    'columns' => $columns,
    'indexes' => $indexes,
  );
}