phone.install 402 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * @file
  4. * Install/Update/Uninstall functions for phone module
  5. */
  6. /**
  7. * Implements hook_field_schema().
  8. */
  9. function phone_field_schema($field) {
  10. return array(
  11. 'columns' => array(
  12. 'value' => array(
  13. 'type' => 'varchar',
  14. 'length' => 255,
  15. 'not null' => FALSE,
  16. ),
  17. ),
  18. );
  19. }
  20. // TODO: data migration from the old DB structure, could be tough..